Python http.cookiejar

0
6K

The http.cookiejar module defines classes for automatic handling of HTTP cookies. It is useful for accessing web sites that require small pieces of data – cookies – to be set on the client machine by an HTTP response from a web server, and then returned to the server in later HTTP requests.

Both the regular Netscape cookie protocol and the protocol defined by RFC 2965 are handled. RFC 2965 handling is switched off by default. RFC 2109 cookies are parsed as Netscape cookies and subsequently treated either as Netscape or RFC 2965 cookies according to the ‘policy’ in effect. Note that the great majority of cookies on the internet are Netscape cookies. http.cookiejar attempts to follow the de-facto Netscape cookie protocol (which differs substantially from that set out in the original Netscape specification), including taking note of the max-age and port cookie-attributes introduced with RFC 2965.

Pesquisar
Categorias
Leia Mais
Science Fiction and Fantasy
The Lord of the Rings: The Return of the King. (2003)
The final confrontation between the forces of good and evil fighting for control of the future of...
Por Leonard Pokrovski 2022-11-05 20:33:04 0 17K
Card Games
Introduction to Poker Hands
Introduction to Poker Hands Poker is a game that relies on skill, strategy and anticipation. A...
Por Leonard Pokrovski 2024-04-02 21:33:07 0 10K
Mining and Drilling
Kola superdeep well
The Kola experimental reference superdeep well (SG-3)  is the deepest mine working in...
Por Michael Pokrovski 2024-03-16 00:02:24 0 20K
Pharmacy
Common Pharmacy Prescriptions: A Guide to Commonly Prescribed Medications
Pharmacy prescriptions are a critical part of healthcare, helping to manage various medical...
Por Dacey Rankins 2024-12-10 14:20:04 0 3K
Научная фантастика и фэнтези
Человек-паук: Нет пути домой. Spider-Man: No Way Home. (2021)
Жизнь и репутация Питера Паркера оказываются под угрозой, поскольку Мистерио раскрыл всему миру...
Por Nikolai Pokryshkin 2023-02-25 15:11:38 0 15K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov