Python http.cookiejar

0
7Кб

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.

Поиск
Категории
Больше
Социальные проблемы
Схватка. Heat. (1995)
Нил МакКоли - один из лучших преступников Лос-Анджелеса. Ему противостоит лучший детектив Винсент...
От Nikolai Pokryshkin 2023-01-25 08:47:11 0 17Кб
Fitness
Fitness: The Path to Health and Beauty
In today's world, where stress and sedentary lifestyles have become the norm, the importance of...
От Dacey Rankins 2024-04-16 18:59:27 0 8Кб
Business
How Can Small Businesses Develop an Effective Strategy?
For small businesses, developing an effective strategy is critical to ensuring long-term success...
От Dacey Rankins 2024-12-25 18:33:30 0 9Кб
Financial Services
Indexing and its limitations
Key points A payment is said to be indexed if it is automatically...
От Mark Lorenzo 2023-06-12 20:20:02 0 7Кб
Деньги
Psychic Financial Energy
How Psychic Energy Works to Attract Finances and Improve Material Well-Being In today’s...
От Nikolai Pokrovski 2024-12-17 21:15:11 0 12Кб
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov