Python http.cookiejar

0
12K

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.

Zoeken
Categorieën
Read More
Sports
The Joy of Shopping for Sports: A Fan's Guide to Gear Galore
The Joy of Shopping for Sports: A Fan's Guide to Gear Galore For sports enthusiasts, stepping...
By Leonard Pokrovski 2024-06-03 21:22:46 0 26K
Business
What Are the Types of Analytics?
In today’s business and technology environment, data is often described as the “new...
By Dacey Rankins 2025-08-28 17:42:16 0 5K
Productivity
How do I reduce stress from work?
How Do I Reduce Stress from Work? Work-related stress is one of the most common modern...
By Michael Pokrovski 2026-03-31 03:10:03 0 3K
Social Issues
V for Vendetta. (2005)
In a future British dystopian society, a shadowy freedom fighter, known only by the alias of "V",...
By Leonard Pokrovski 2023-03-03 19:27:17 0 24K
Personal Finance
What Are Tax-Advantaged Employee Benefits?
What Are Tax-Advantaged Employee Benefits? Tax-advantaged employee benefits are compensation...
By Leonard Pokrovski 2025-12-24 18:15:45 0 5K

BigMoney.VIP Powered by Hosting Pokrov