Python http.cookiejar

0
12Кб

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.

Поиск
Категории
Больше
Mental Health
Psychosis: Causes
The symptoms of psychosis may be caused by serious psychiatric disorders such as schizophrenia, a...
От Kelsey Rodriguez 2023-05-24 18:32:38 0 12Кб
Marketing and Advertising
Will Video Marketing Improve SEO, Search Rankings, and Website Traffic?
Introduction In a world where attention spans are shrinking and competition for visibility is...
От Dacey Rankins 2025-11-10 16:38:52 0 5Кб
Mental Health
Dyslexia: Language
The orthographic complexity of a language directly affects how difficult it is to learn to read...
От Kelsey Rodriguez 2023-06-23 15:39:49 0 12Кб
Systems
The most powerful computer in the world in 2022
Which computer is the most powerful in the world? Frontier HPE Cray EX235a is a new computer...
От FWhoop Xelqua 2023-04-14 16:35:38 0 22Кб
Business
What to Do With Feedback Once Collected
Collecting feedback is only the first step—what you do with it determines its true value....
От Dacey Rankins 2025-07-28 14:57:01 0 5Кб

BigMoney.VIP Powered by Hosting Pokrov