Python http.cookiejar

0
5K

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.

Search
Categories
Read More
Programming
Gitbook
What Is GitBook? GitBook is a collaborative documentation tool that allows anyone to...
By Jesse Thomas 2023-07-06 20:25:06 0 6K
Holidays
The Top Celebrated Holidays Around the World
Holidays are an essential part of cultures worldwide, offering people a chance to relax,...
By Dacey Rankins 2024-12-05 14:35:52 0 2K
Business
What Strategies Can Help in Transitioning Back to Office Work?
As businesses around the world transition back to office work after an extended period of remote...
By Dacey Rankins 2025-01-30 15:54:30 0 2K
Programming
Use Aiohttp For Requests
People have been using requests to get, post, and other methods for requests. Although there is...
By Jesse Thomas 2023-02-08 22:43:17 0 6K
Theme Parks
The most famous amusement parks
Amusement parks in the modern world are a favorite vacation spot for families with children, fans...
By FWhoop Xelqua 2022-10-21 13:28:56 0 19K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov