Python http.cookiejar

0
8Кб

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.

Поиск
Категории
Больше
Programming
Lua vs JavaScript
Sr. No Lua JavaScript 1 Lua is one of the cross-platform programming languages...
От Jesse Thomas 2023-06-07 21:31:08 0 8Кб
Central America
Top 14 Attractions to Visit in Central America
Central America is a strip of land that connects North America and South America, but for...
От FWhoop Xelqua 2023-04-01 17:58:30 0 28Кб
Business
How to Develop a Product Strategy
How to Develop a Product Strategy Developing a product strategy is a key stage in the...
От Leonard Pokrovski 2024-08-22 15:37:55 0 16Кб
Life Issues
In the Name of the Father. (1993)
A man's coerced confession to an I.R.A. bombing he did not commit results in the imprisonment of...
От Leonard Pokrovski 2023-03-28 20:04:10 0 21Кб
Graphic Design
Graphic Design As Art
In the modern world, with the development of technology more and more, such an industry as...
От FWhoop Xelqua 2022-09-04 09:45:27 0 29Кб
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov