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.

Buscar
Categorías
Read More
Regional
What did Covid-19 do to kids' mental health?
n recent years, the mental health of young people in the United States has been steadily...
By FWhoop Xelqua 2023-03-19 17:17:01 0 16K
Business
Why is entrepreneurship important?
Entrepreneurship plays a crucial role in economic growth and innovation. It drives job creation,...
By Dacey Rankins 2025-03-12 14:36:57 0 3K
Социальные проблемы
«V» значит Вендетта. V for Vendetta. (2005)
Альтернативное будущее. В Англии после страшной эпидемии неизвестного вируса повергшей страну в...
By Nikolai Pokryshkin 2023-03-02 11:12:13 0 38K
Rural Living
The Allure and Challenges of Rural Living
Rural living has always held a special charm for many, offering a slower pace of life, closer...
By Dacey Rankins 2024-12-12 14:22:09 0 5K
Biology
Scarlet Macaw
Scarlet Macaw (Ara Macao) – With a spectacular plumage and an inquisitive nature these...
By FWhoop Xelqua 2023-05-15 20:37:55 0 19K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov