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.

Buscar
Categorías
Read More
Business
What Legal Documents Do Startup Founders Need?
Starting a business involves many exciting steps, but it also requires careful legal preparation...
By Dacey Rankins 2025-04-03 15:07:04 0 3K
История
Спасти рядового Райана. Saving Private Ryan. (1998)
Вторая мировая. Капитан Джон Миллер получает тяжелое задание. Вместе с отрядом из восьми человек...
By Nikolai Pokryshkin 2022-11-18 17:37:54 0 19K
Financial Services
Interpreting the aggregate demand/aggregate supply model
Key points The aggregate demand/aggregate supply model is a model that...
By Mark Lorenzo 2023-03-28 19:51:46 0 10K
Future
Future
A future is a hypothetical segment of a timeline, a set of events that have not yet occurred, but...
By FWhoop Xelqua 2023-03-02 16:16:45 0 15K
Financial Services
What are public goods?
Key points A public good has two key characteristics: it is...
By Mark Lorenzo 2023-05-12 19:29:33 0 8K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov