Python http.cookiejar

0
12K

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
Economics
What is a common market?
What Is a Common Market? A common market is a form of economic integration in which a group of...
By Leonard Pokrovski 2026-08-18 13:41:03 0 2K
Money
How Much Should I Put in an Emergency Fund?
How Much Should I Put in an Emergency Fund? Life is unpredictable. From sudden car repairs to...
By Leonard Pokrovski 2025-09-30 20:41:46 0 8K
Marketing and Advertising
What Is a Marketing Strategy?
  Introduction Every successful business, from global corporations to local startups,...
By Dacey Rankins 2025-10-15 18:56:03 0 4K
Business
Retail Industry Statistics: What the Numbers Reveal About the Future of Retail
Statistics have a curious way of misleading us. Not because they are inaccurate. Quite the...
By Dacey Rankins 2026-07-24 21:12:19 0 3K
Economics
What causes economic growth?
The Quiet Engines of Prosperity Economic growth is often narrated as a triumphal...
By Leonard Pokrovski 2026-05-05 09:08:56 0 6K

BigMoney.VIP Powered by Hosting Pokrov