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.

Căutare
Categorii
Citeste mai mult
Personal Development
How do I improve leadership skills?
How Do I Improve Leadership Skills? Leadership is not limited to job titles or management...
By Michael Pokrovski 2026-02-10 20:10:31 0 2K
Business and Corporate Finance
What Is Capital Budgeting?
What Is Capital Budgeting? Capital budgeting is one of the most important financial...
By Leonard Pokrovski 2026-01-19 18:14:57 0 2K
Business
How Do You Balance Innovation with Market Demand?
Innovation is often described as the heartbeat of business success, but it doesn’t occur in...
By Dacey Rankins 2025-08-19 17:53:08 0 5K
Business
How Should Organizations Handle Media Relations During a Crisis?
Effective media relations are a critical part of crisis management. During a crisis, the way an...
By Dacey Rankins 2025-01-27 18:15:08 0 13K
Social Issues
The Pianist. (2002)
A Polish Jewish musician struggles to survive the destruction of the Warsaw ghetto of World War...
By Leonard Pokrovski 2022-11-26 21:19:41 0 23K

BigMoney.VIP Powered by Hosting Pokrov