Python http.cookiejar

0
8K

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
Business
How to save money on online shopping and buy online profitably
Modern technology has made online shopping a natural part of our lives. Every year, more and more...
By Dacey Rankins 2024-09-25 16:53:39 0 16K
Социальные проблемы
Криминальное чтиво. Pulp Fiction. (1994)
Двое бандитов Винсент Вега и Джулс Винфилд ведут философские беседы в перерывах между разборками...
By Nikolai Pokryshkin 2022-11-04 18:47:33 0 27K
Социальные проблемы
Похитители велосипедов. The Bicycle Thief. (1948)
Послевоенный Рим, давно неработающий Антонио вне себя от радости - он наконец-то находит работу....
By Nikolai Pokryshkin 2023-02-01 21:36:38 0 19K
Life Issues
Gran Torino. (2008)
Disgruntled Korean War veteran Walt Kowalski sets out to reform his neighbor, Thao Lor, a Hmong...
By Leonard Pokrovski 2023-03-14 19:34:16 0 20K
Office Products
Office Tools
Choosing office suppliesIs it time to stock up on office stationery? Not sure where to start?...
By FWhoop Xelqua 2023-03-25 16:24:05 0 21K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov