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.

Search
Categories
Read More
Jewelry
Why are people so attracted to jewelry?
Have you ever wondered why you like gold and precious stones so much? Why do you want to buy...
By FWhoop Xelqua 2023-01-04 16:41:17 0 13K
Science Fiction and Fantasy
The Incredibles. (2004)
While trying to lead a quiet suburban life, a family of undercover superheroes are forced into...
By Leonard Pokrovski 2023-06-22 20:52:18 0 29K
Thesauri
Cultural Thesauri
DIALOGUE OF CULTURAL THESAURIES Dialogue of cultures is a certain stadial form of their...
By FWhoop Xelqua 2022-10-01 17:05:50 0 18K
Biology
Why Study Biology
  Why Study Biology Biology refers to the natural sciences that study wildlife. The...
By FWhoop Xelqua 2023-03-28 14:46:47 0 12K
Life Issues
Inception (2010)
A thief who steals corporate secrets through the use of dream-sharing technology is given the...
By Leonard Pokrovski 2022-11-12 20:59:30 0 17K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov