Python http.cookiejar

0
9KB

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.

Pesquisar
Categorias
Leia mais
Educational Resources
Science Educational Sources: Empowering Learning and Discovery
In today’s rapidly advancing world, science education is more important than ever. From...
Por Dacey Rankins 2024-12-11 15:01:04 0 9KB
Mídia
Startup.com. (2001)
Traces the birth and failure of new media company govWorks.com. My Link
Por Leonard Pokrovski 2023-06-08 19:46:32 0 28KB
Programming
Python Motor vs Pymongo
Motor provides a single client class, MotorClient. Unlike PyMongo’s MongoClient,...
Por Jesse Thomas 2023-07-12 21:04:17 0 11KB
Social Issues
American Factory. (2019)
In post-industrial Ohio, a Chinese billionaire opens a factory in an abandoned General Motors...
Por Leonard Pokrovski 2023-06-06 19:58:13 0 28KB
Business
Why is a Business Plan Important, and Who Should Write It?
A business plan is a vital tool for any startup or established company, serving as a roadmap to...
Por Dacey Rankins 2025-02-28 16:45:44 0 6KB

BigMoney.VIP Powered by Hosting Pokrov