Python http.cookiejar

0
7K

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
Financial Services
The benefits and costs of US environmental laws
Key points Taken as a whole, the benefits of US environmental regulation have...
By Mark Lorenzo 2023-02-20 17:47:53 0 8K
Social Issues
Girl in the Basement. (2021)
Sarah is a teen girl who is looking forward to her 18th birthday to move away from her...
By Leonard Pokrovski 2023-04-28 19:44:31 0 25K
Financial Services
Price Ceilings and Price Floors
Key points Price ceilings prevent a price from rising above a certain level....
By Mark Lorenzo 2023-01-30 14:40:25 0 9K
Business
What Is the Vision for the Company’s Future?
A clear and compelling vision is the cornerstone of any successful enterprise....
By Dacey Rankins 2025-05-02 14:59:48 0 2K
Social Issues
Citizen Kane. (1941)
Following the death of publishing tycoon Charles Foster Kane, reporters scramble to uncover the...
By Leonard Pokrovski 2023-01-14 21:59:59 0 19K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov