Python http.cookiejar

0
6K

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
Social Issues
Sorry We Missed You. (2019)
Hoping that self-employment through gig economy can solve their financial woes, a hard-up UK...
By Leonard Pokrovski 2023-05-31 19:38:09 0 26K
Financial Services
Macroeconomic perspectives on demand and supply
Key points Keynes’ Law states that demand creates its own supply....
By Mark Lorenzo 2023-06-15 20:13:45 0 7K
Искусство, культура и развлечения
Манк. Mank. (2020)
1940 год. Нью-йоркский острослов Герман Манкевич, когда-то приехавший покорять Голливуд и в целом...
By Nikolai Pokryshkin 2022-09-25 21:17:14 0 20K
Flying Discs
Flying Discs - Discus Throwing
Dysk throwing is a discipline in athletics, consisting in throwing a special sports projectile -...
By FWhoop Xelqua 2023-02-08 17:21:27 0 13K
Социальные проблемы
Фортуна. Fortuna. (2021)
Фортуна (6 лет) живет со своей матерью в безымянном пригороде. Она проводит время с двумя...
By Nikolai Pokryshkin 2022-09-14 22:50:15 0 18K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov

Top sites Pokrov