Python http.cookiejar

0
11K

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
Business
What is a business accelerator?
What is a business accelerator?   A business...
By Leonard Pokrovski 2024-08-01 22:23:54 0 23K
Business
Who Can Start a Social Enterprise?
The idea of blending purpose with profit is gaining momentum across the globe. Social...
By Dacey Rankins 2025-04-15 21:14:58 0 7K
Business
What Are the Key Phases of a Project?
Project management is a structured approach to planning and guiding project processes from start...
By Dacey Rankins 2025-05-15 14:32:54 0 8K
Business
Do Accelerators Provide Funding?
most accelerators provide funding, typically in the form of seed investment in exchange for...
By Dacey Rankins 2025-04-23 16:17:44 0 13K
Petanque
Discovering the Charm of Petanque: A Closer Look at the French Game of Precision
In the realm of leisurely yet competitive sports, few embody the spirit of relaxation and...
By Dacey Rankins 2024-07-04 16:05:35 0 18K

BigMoney.VIP Powered by Hosting Pokrov