Python http.cookiejar

0
9KB

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.

Rechercher
Catégories
Lire la suite
Outdoors
What gives people outdoor recreation
What gives people recreation in nature. Free space, the absence of crowds,...
Par FWhoop Xelqua 2022-11-12 13:10:13 0 21KB
Business
Can Startups That Have Already Received Funding Join an Accelerator?
Yes, startups that have already received funding can absolutely join an accelerator. While many...
Par Dacey Rankins 2025-04-23 16:52:19 0 10KB
Business
How Do I Determine if I Need a Co-Founder or Partner?
Launching a startup is an exciting yet daunting journey. One of the most pivotal early decisions...
Par Dacey Rankins 2025-05-05 14:51:18 0 5KB
Play Groups
Collection of games
Team-Building Compilation CATERPILLARThe team stands in a single line, facing to...
Par Leonard Pokrovski 2024-04-05 21:32:03 0 21KB
Социальные проблемы
Криминальное чтиво. Pulp Fiction. (1994)
Двое бандитов Винсент Вега и Джулс Винфилд ведут философские беседы в перерывах между разборками...
Par Nikolai Pokryshkin 2022-11-04 18:47:33 0 29KB

BigMoney.VIP Powered by Hosting Pokrov