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.

Search
Categories
Read More
Телевидение
Телеканал 360° прямой эфир.
Самые свежие новости страны и мира 24 часа в сутки. На нашем канале кадры с места событий,...
By Nikolai Pokryshkin 2022-11-21 21:07:17 0 22K
Arts, Culture and Entertainment
Annette. (2021)
Los Angeles, nowadays. Henry is a stand-up comedian with a fierce humor. Ann, an internationally...
By Nikolai Pokryshkin 2022-09-01 20:11:00 1 34K
Business
What are the characteristics of a successful entrepreneur?
Entrepreneurship is challenging, but certain qualities can increase the chances of success....
By Dacey Rankins 2025-03-11 15:41:55 0 3K
Жизненные вопросы
Дети небес. Children of heaven. (1997)
По пути из школы мальчик из бедной семьи теряет только что взятую из починки единственную пару...
By Nikolai Pokryshkin 2023-03-17 13:03:27 0 26K
Comics
The Fascinating World of Comics: More Than Just Superheroes
Comics have long been a staple of popular culture, captivating readers of all ages and...
By Dacey Rankins 2025-01-20 16:16:11 0 5K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov