Python http.cookiejar

0
12KB

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.

Rechercher
Catégories
Lire la suite
Economics
What is a free enterprise system?
What Is a Free Enterprise System? The Most Misunderstood Engine of Prosperity Walk through any...
Par Leonard Pokrovski 2026-05-30 14:04:29 0 475
Business
How Do I Build a Strong Startup Team?
A great idea can spark a startup, but a great team makes it thrive. In the fast-paced world of...
Par Dacey Rankins 2025-04-11 16:57:21 0 15KB
Productivity
Why do I delay important tasks?
Why Do I Delay Important Tasks? Delaying important tasks is one of the most common and...
Par Michael Pokrovski 2026-04-27 20:45:49 0 728
Business
What Industries Have the Highest Potential for Startups?
The startup ecosystem continues to thrive, with innovative entrepreneurs emerging from all...
Par Dacey Rankins 2025-03-18 14:01:01 0 10KB
Business
What Is Drip Pricing and Why Is It Controversial?
In today’s marketing and sales landscape, pricing strategies can significantly influence...
Par Dacey Rankins 2025-09-04 12:18:00 0 6KB

BigMoney.VIP Powered by Hosting Pokrov