Python http.cookiejar

0
11K

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
Graphic Design
Graphic Design As Art
In the modern world, with the development of technology more and more, such an industry as...
By FWhoop Xelqua 2022-09-04 09:45:27 0 35K
Personal Finance
How Long Does It Take to Pay Off Student Loans?
How Long Does It Take to Pay Off Student Loans? How Repayment Plan, Loan Amount, and Income...
By Leonard Pokrovski 2025-12-19 23:08:51 0 242
Business
What’s the Difference Between a Metric and a KPI?
In business performance management, two terms often come up interchangeably: metrics and Key...
By Dacey Rankins 2025-08-27 14:57:22 0 4K
Cultures and Groups
Arts and Culture
Culture and art is a rather specific direction, if we describe it in terms of employment and...
By FWhoop Xelqua 2023-01-19 16:45:09 0 26K
Business
What Skills Do Successful Startup Founders Have?
Starting a business and leading a startup is no easy feat. The path to success is often filled...
By Dacey Rankins 2025-04-01 16:20:01 0 6K

BigMoney.VIP Powered by Hosting Pokrov