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.

Site içinde arama yapın
Kategoriler
Read More
Urban Living
Such a funny city life: 15 shots by street photographers from around the world
Such a funny city life: 15 shots by street photographers from around the world Hello Friends...
By Leonard Pokrovski 2024-04-26 21:34:21 0 12K
Science Fiction and Fantasy
Star Wars: Episode VI - Return of the Jedi. (1983)
After a daring mission to rescue Han Solo from Jabba the Hutt, the Rebels dispatch to Endor to...
By Leonard Pokrovski 2023-01-09 20:23:01 0 21K
Business
What are common challenges faced by startups, and how can I overcome them?
Starting a business is a challenging yet rewarding journey. While the excitement of launching a...
By Dacey Rankins 2025-03-05 16:42:54 0 6K
Conventions
User Agreement for Games (EULA), why and how it is drawn up
Most likely, each of us at least once in his life when first launching an application or game...
By FWhoop Xelqua 2022-11-20 19:36:06 0 19K
Социальные проблемы
Проект «Сила». Project Power. (2020)
В Новый Орлеан завозят капсулы, которые дают проглотившим их суперспособности на 5 минут. Но...
By Nikolai Pokryshkin 2022-10-16 15:21:45 0 20K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov