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.

Site içinde arama yapın
Kategoriler
Read More
Finance
How Do I Stop Automatic Debit Payments from My Account?
How Do I Stop Automatic Debit Payments from My Account? Automatic debit payments are a...
By Leonard Pokrovski 2025-10-04 22:05:45 0 6K
Business
How to Attract Customers Without an Advertising Budget: 6 Promotion Options
You can tell potential customers about your product without a huge advertising budget....
By Dacey Rankins 2024-09-19 15:50:28 0 15K
Business
What Are the Barriers to Business Growth?
Every entrepreneur dreams of scaling their business, but growth is rarely a straight path. Even...
By Dacey Rankins 2025-09-05 15:40:01 0 5K
Issues
Global problems of mankind
Progress moves humanity forward, but it also has a downside – global problems. In this...
By FWhoop Xelqua 2023-01-31 15:52:21 0 22K
Personal Finance
How to save money from unexpected expenses
What will you learn?   What is a financial safety cushion?   What...
By FWhoop Xelqua 2022-10-10 12:04:22 0 25K

BigMoney.VIP Powered by Hosting Pokrov