Python http.cookiejar

0
7KB

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.

Pesquisar
Categorias
Leia mais
Cooking
Top 5 Home Meals to Cook: Delicious, Easy, and Comforting Recipes
Cooking at home can be both rewarding and enjoyable, especially when you prepare meals that are...
Por Dacey Rankins 2024-10-11 16:10:52 0 20KB
Business
How Important is Branding for a Startup?
Branding is one of the most critical aspects of building a successful startup. When launching a...
Por Dacey Rankins 2025-03-17 18:26:57 0 4KB
Strength Sports
Unveiling the World of Strength Sports: Power, Precision, and Passion
Unveiling the World of Strength Sports: Power, Precision, and Passion Strength sports have...
Por Leonard Pokrovski 2024-07-10 07:58:54 0 15KB
Support Groups
How do I organize a support group?
In this article, we will talk mainly about the so-called peer support groups, in which...
Por FWhoop Xelqua 2023-02-06 15:57:58 0 16KB
Социальные проблемы
Славные парни. Goodfellas. (1990)
История о Генри Хилле — начинающем гангстере, занимающемся грабежами вместе с подельниками...
Por Nikolai Pokryshkin 2022-11-13 09:07:34 0 22KB
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov