Python http.cookiejar

0
9K

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.

Cerca
Categorie
Leggi tutto
Water Sports
Benefits of Swimming
Swimming is one of the most popular sports in Australia. Our nation is surrounded by water and...
By FWhoop Xelqua 2023-05-25 21:41:22 0 22K
Mental Health
Psychosis: Neuroimaging
The first brain image of an individual with psychosis was completed as far back as 1935 using a...
By Kelsey Rodriguez 2023-06-05 19:02:07 0 10K
Business
How can Lean Startup principles be applied in established companies?
The Lean Startup methodology, popularized by Eric Ries, is often associated with new ventures and...
By Dacey Rankins 2025-03-11 15:36:35 0 8K
Business
How do I effectively interact with my audience to build a loyal community?
Building a loyal community is a key component of long-term success in any business, brand, or...
By Dacey Rankins 2025-02-20 16:48:36 0 8K
Business
What Are the Benefits of Joining a Startup Incubator?
Starting a business can be a challenging and isolating journey, but joining a startup incubator...
By Dacey Rankins 2025-04-24 16:54:05 0 11K

BigMoney.VIP Powered by Hosting Pokrov