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
Economics
How to solve economic graphs and equations?
The Quiet Power of Lines and Curves The first time I truly understood an economic graph, it was...
By Leonard Pokrovski 2026-05-05 09:06:50 0 4K
Economics
How Do Interest Rates Affect the Economy?
How Do Interest Rates Affect the Economy? Interest rates are one of the most powerful tools in...
By Leonard Pokrovski 2026-04-20 19:16:46 0 5K
Human Resources
What Qualifications Are Needed for Customer Service Jobs?
Customer service plays a critical role in modern organizations because it directly influences...
By Dacey Rankins 2026-03-14 01:00:47 0 5K
Marketing and Advertising
What Is Digital PR and How Is PR Changing in the Online World?
Introduction: The Shift from Traditional PR to Digital PR Public Relations (PR) has always been...
By Dacey Rankins 2025-10-27 17:22:24 0 7K
Programming
Python Pygame
If you are just getting started with pygame, you should be able to get started fairly quickly....
By Jesse Thomas 2023-03-29 19:03:26 0 12K

BigMoney.VIP Powered by Hosting Pokrov