Python http.cookiejar

0
12KB

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.

Suche
Kategorien
Mehr lesen
Hand-Eye Coordination
Modern children sit a lot:
Modern children sit a lot: in high chairs, car seats, strollers, at cartoons, tablets, lessons....
Von Leonard Pokrovski 2024-04-04 21:08:04 0 20KB
Economics
What is monetary policy?
What Is Monetary Policy? Monetary policy is the process by which a country's central bank...
Von Leonard Pokrovski 2026-07-24 02:21:38 0 3KB
Business
The Quiet Power Behind Every Functional Office
There is a particular moment—easy to miss—when an office either coheres or collapses....
Von Dacey Rankins 2026-04-29 16:24:12 0 871
Ужасы
Челюсти. Jaws. (1975)
Действие картины протекает в течение пяти дней — на острове Э́мити, где расположен...
Von Nikolai Pokryshkin 2023-04-10 14:35:53 0 42KB
Economics
What Is the Difference Between Economics and Econometrics?
What Is the Difference Between Economics and Econometrics? Economics and econometrics are...
Von Leonard Pokrovski 2026-03-18 01:55:21 0 3KB

BigMoney.VIP Powered by Hosting Pokrov