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.

Zoeken
Categorieën
Read More
Nature and Science
Dream Horse (2021)
Dream Alliance is an unlikely race horse bred by small-town Welsh bartender Jan Vokes. With no...
By Leonard Pokrovski 2022-09-07 13:52:42 0 25K
Business
How do I highlight achievements without sounding boastful in my business biography?
Writing a business biography involves striking the right balance between showcasing your...
By Dacey Rankins 2025-01-08 13:57:07 0 5K
Social Issues
The Departed. (2006)
An undercover cop and a mole in the police attempt to identify each other while infiltrating an...
By Leonard Pokrovski 2022-12-01 20:36:46 0 15K
Жизненные вопросы
Она говорит со мной. We Still Talk. (2021)
Вот уже 65 лет Нино влюблен в Рину и продолжает любить, хотя ее уже нет рядом. Он все еще...
By Nikolai Pokryshkin 2022-09-16 21:59:50 0 18K
Flags
Flag of Denmark
The flag of Denmark, called the Dannebrog by the Danes ( Danish: Dannebrog; Dannebrog) is a red...
By FWhoop Xelqua 2023-02-12 16:41:24 0 13K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov