Python http.cookiejar

0
8K

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.

Zoeken
Categorieën
Read More
Life Issues
Baby Money. (2021)
When a home invasion turns into a bloody shoot-out, a pair of ragtag fugitives take refuge in the...
By Leonard Pokrovski 2023-05-10 18:55:01 0 37K
Social Issues
Taxi Driver. (1976)
A mentally unstable veteran works as a nighttime taxi driver in New York City, where the...
By Leonard Pokrovski 2023-01-28 17:27:40 0 16K
Other
The Inventor: Out For Blood In Silicon Valley. (2019)
The story of Theranos, a multi-billion dollar tech company, its founder Elizabeth Holmes, the...
By Leonard Pokrovski 2023-06-05 20:06:29 0 19K
Business
Basics of etiquette in business and everyday communication
Basics of etiquette in business and everyday communicationEtiquette is not just a set of rules...
By Dacey Rankins 2024-09-11 15:05:31 0 10K
Television
Fox 11 Live TV Los Angeles USA
FOX 11 News at 10 PM Los Angeles. FOX 11 or KTTV, channel 11, is an owned-and-operated...
By Nikolai Pokryshkin 2022-09-01 10:17:03 0 33K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov