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
If and Else statements or Try and Except Statements
If and Else statements should be used if you want to check if something is True or false. This...
By Jesse Thomas 2023-02-22 21:19:36 0 5K
Arts
Investments in art. How much can you earn from masterpieces?
Works of art, in addition to cultural value, also have material value. Moreover, their value is...
By Michael Pokrovski 2024-03-11 21:17:45 0 17K
Entertaining
The Art of Home Entertaining: Creating Memorable Experiences for Your Guests
Home entertaining is an age-old tradition that allows hosts to share their space, hospitality,...
By Dacey Rankins 2024-11-28 15:05:52 0 2K
Performing Arts
The World of Performing Arts: A Vibrant Expression of Human Creativity
The performing arts encompass a wide array of creative forms that involve live performances,...
By Dacey Rankins 2024-10-08 19:36:43 0 8K
Financial Services
Scarcity
Scarcity in microeconomics Imagine going to the store with only $10 to spend. You find two...
By Mark Lorenzo 2023-02-02 14:37:01 0 6K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov