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
Finance
What Is a Debit Card?
What Is a Debit Card? A debit card is a widely used financial tool that allows individuals to...
By Leonard Pokrovski 2025-10-04 22:03:31 0 4K
Social Issues
Pulp Fiction. (1994)
The lives of two mob hitmen, a boxer, a gangster and his wife, and a pair of diner bandits...
By Leonard Pokrovski 2022-11-06 21:24:39 0 24K
Marketing and Advertising
What Are Some Effective Community Building Activities?
Community building is not just about creating a space where people gather—it’s about...
By Dacey Rankins 2025-09-26 15:08:11 0 5K
Open Source
Open Source Code
Open Source is software distributed as open source. Such an application can be modified...
By Dacey Rankins 2024-03-27 17:47:08 0 23K
Personal Finance
Will Bankruptcy Clear All My Debts? What Are the Consequences?
Will Bankruptcy Clear All My Debts? What Are the Consequences? Filing for bankruptcy is one of...
By Leonard Pokrovski 2025-10-30 22:30:44 0 3K

BigMoney.VIP Powered by Hosting Pokrov