Python http.cookiejar

0
8K

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
Social Issues
A Christmas Gift from Bob (2020)
A struggling street musician finds himself the target of an animal welfare investigation that...
By Leonard Pokrovski 2022-10-07 22:30:32 0 24K
Financial Services
Explicit and implicit costs and accounting and economic profit
Key points Privately owned firms are motivated to earn profits. Profit is the...
By Mark Lorenzo 2023-04-24 18:42:05 0 11K
Services
20 ideas for business
Medical business is a type of entrepreneurial activity for the provision of services for the...
By FWhoop Xelqua 2022-12-26 14:13:13 0 26K
Business
How an illustrator can promote himself in the international market
How an illustrator can promote himself in the international market We will tell you...
By Leonard Pokrovski 2024-07-30 18:40:02 0 18K
Business
How to Lead an Effective Meeting
Meetings are essential tools for collaboration, decision-making, and communication within any...
By Dacey Rankins 2025-06-04 14:11:46 0 3K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov