Python http.cookiejar

0
9K

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
Yard, Deck, and Table Games
Why Do Children Play Yard Games in the Modern World
Why should children play yard games? Modern children are increasingly spending their free time...
By Dacey Rankins 2024-04-09 14:40:39 0 12K
Drugs
Exploring the Recreational Use of Prescription Drugs: Balancing Benefits and Risks
Exploring the Recreational Use of Prescription Drugs: Balancing Benefits and Risks Introduction:...
By Leonard Pokrovski 2024-05-09 10:00:34 0 16K
Социальные проблемы
Лицо со шрамом. Scarface. (1983)
Весной 1980 года был открыт порт Мэйриэл Харбор, и тысячи кубинских беженцев ринулись в...
By Nikolai Pokryshkin 2023-01-22 12:18:07 0 26K
Materials
Methodology for describing a business idea and working materials for the development of a business idea
Methodology for describing a business idea and working materials for the development of a...
By Leonard Pokrovski 2024-03-15 13:18:55 0 31K
Искусство, культура и развлечения
Шерлок младший. Sherlock Jr. (1924)
Б.Китон - киномеханик, который мечтает быть знаменитым детективом, как Шерлок Холмс. Влюбленный в...
By Nikolai Pokryshkin 2023-04-02 21:01:16 0 38K

BigMoney.VIP Powered by Hosting Pokrov



Top sites Pokrov