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.

Căutare
Categorii
Citeste mai mult
Programming
How to Get Normally Distributed Random Numbers With NumPy
Probability distributions describe the likelihood of all possible outcomes of an event or...
By Jesse Thomas 2023-05-02 20:46:08 0 6K
Rural Living
Rural Living: The Benefits and Challenges of Life in the Countryside
Rural living has long been romanticized in literature and media, often depicted as a serene...
By Dacey Rankins 2024-10-18 19:34:56 0 17K
Social Issues
Mr. Smith Goes to Washington. (1939)
A naive youth leader is appointed to fill a vacancy in the U.S. Senate. His idealistic plans...
By Leonard Pokrovski 2023-04-05 14:54:34 0 20K
Business
What is the Difference Between a Resume and a Business Biography?
In the professional world, both resumes and business biographies serve as tools to present an...
By Dacey Rankins 2025-01-07 14:17:27 0 4K
Television
UN press briefings. Live TV. USA.
The UN Web TV Channel is available 24 hours a day with selected live programming of United...
By Nikolai Pokryshkin 2022-10-12 19:01:24 0 20K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov