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.

Zoeken
Categorieën
Read More
История
Паровоз Генерал. The General. (1926)
Юного Джонни Грэя в армию Конфедерации не взяли, а его возлюбленная Аннабел Ли отвергает его,...
By Nikolai Pokryshkin 2023-03-26 14:24:04 0 23K
Animal Sports
10 sports with dogs
Riding sport is the most popular sport at the moment, where people and animals participate. But...
By FWhoop Xelqua 2022-09-29 14:41:18 0 39K
News and Media
Top 50 health magazines in the world
Rank Outlet Total Visits Location 1 Yo Dona 162,824,091 Madrid, Spain 2...
By Dacey Rankins 2024-04-22 16:00:30 0 12K
Other
Pirates of the Caribbean: The Curse of the Black Pearl (2003)
Blacksmith Will Turner teams up with eccentric pirate "Captain" Jack Sparrow to save his love,...
By Leonard Pokrovski 2023-06-23 19:53:50 0 31K
Business
In Education, Events, and HR: “Was the Content Organized?” “How Often Does Your Supervisor Give Feedback?”
In settings like education, corporate events, and human resources, two essential drivers of...
By Dacey Rankins 2025-07-25 14:12:29 0 2K

BigMoney.VIP Powered by Hosting Pokrov