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.

Cerca
Categorie
Leggi tutto
Productivity
Does minimalism help with focus and productivity?
Does Minimalism Help With Focus and Productivity? Minimalism has evolved from a design trend...
By Michael Pokrovski 2026-04-12 17:29:52 0 6K
Financial Services
How perfectly competitive firms make output decisions
Key points As a perfectly competitive firm produces a greater quantity of output,...
By Mark Lorenzo 2023-02-21 15:16:17 0 16K
Business
Outsourcing
Outsourcing is the transfer by an organization on the basis of a contract of certain types or...
By Dacey Rankins 2024-09-20 21:42:32 0 26K
Economics
What Is the Role of Education and Health in Economic Development?
What Is the Role of Education and Health in Economic Development? Economic development refers to...
By Leonard Pokrovski 2026-03-16 06:31:19 0 2K
Mappe
Armenia on the Babylonian Map
What do we know about the oldest maps of the world that have survived to this day. There are only...
By FWhoop Xelqua 2022-12-14 13:50:09 0 23K

BigMoney.VIP Powered by Hosting Pokrov