Python http.cookiejar

0
4K

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
Mining and Drilling
Kola superdeep well
The Kola experimental reference superdeep well (SG-3)  is the deepest mine working in...
By Michael Pokrovski 2024-03-16 00:02:24 0 19K
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 22K
Научная фантастика и фэнтези
Космическая одиссея 2001 года. 2001: A Space Odyssey. (1968)
Экипаж космического корабля «Дискавери» — капитаны Дэйв Боумэн, Фрэнк Пул и их...
By Nikolai Pokryshkin 2023-01-10 11:12:11 0 24K
Спорт
Бешеный бык. Raging Bull. (1980)
Джейк ЛаМотта, получивший прозвище Бронксский Бык, - боксер. И все его психологические и...
By Nikolai Pokryshkin 2023-03-01 13:57:11 0 17K
Financial Services
Elasticity and tax revenue
Key points Tax incidence is the manner in which the tax burden is divided...
By Mark Lorenzo 2023-07-06 20:21:10 0 6K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov