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.

Cerca
Categorie
Leggi tutto
Financial Services
Types of market-oriented environmental tools
Key points The three main categories of market-oriented environmental policies are...
By Mark Lorenzo 2023-05-03 20:55:50 0 7K
Sport
Rocky. (1976)
A small-time Philadelphia boxer gets a supremely rare chance to fight the world heavyweight...
By Leonard Pokrovski 2023-04-16 19:46:10 0 20K
Personal Finance
Parents' expenses for the education of a child in Austria exceed €2000 per year
Foresight conducted a panel study of 2,500 parents of nearly 4,000 schoolchildren and college...
By Dacey Rankins 2024-10-28 16:12:37 0 10K
Government
Navigating the Labyrinth: Understanding the Role and Function of Government
Navigating the Labyrinth: Understanding the Role and Function of Government In the complex...
By Leonard Pokrovski 2024-06-09 11:50:40 0 15K
Korfball
Discovering Korfball: The Unique Sport of Equality and Strategy
  Discovering Korfball: The Unique Sport of Equality and Strategy In...
By Leonard Pokrovski 2024-06-30 15:41:59 0 17K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov