Python http.cookiejar

0
7K

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
Sport
Sisters on Track (2021)
A coming of age story about hope, belonging, and the metaphorical and literal sisterhood of young...
By Leonard Pokrovski 2022-09-02 18:21:53 0 24K
Жизненные вопросы
Общество мертвых поэтов. Dead Poets Society. (1989)
Джон Китинг — новый преподаватель английской словесности в консервативном американском...
By Nikolai Pokryshkin 2023-04-09 12:11:36 0 28K
Business
How Does a Startup Incubator Work?
In today’s fast-paced entrepreneurial ecosystem, startup incubators play a vital role in...
By Dacey Rankins 2025-04-24 16:52:09 0 7K
Business
How to Write a Catchy Press Release
What is a press release?The concept of a press release should be determined on the shore in order...
By Dacey Rankins 2024-09-09 16:58:03 0 9K
Social Issues
Babyteeth (2020)
When seriously ill teenager Milla falls madly in love with smalltime drug dealer Moses, it's her...
By Leonard Pokrovski 2022-10-24 19:23:33 0 21K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov