Python http.cookiejar

0
12KB

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
Social Issues
Radioactive. (2020)
The incredible true story of Marie Sklodowska-Curie and her Nobel Prize-winning work that changed...
Por Leonard Pokrovski 2022-10-28 20:01:10 0 29KB
Economics
What is APY?
What Is APY? A Complete Guide to Annual Percentage Yield When comparing savings accounts,...
Por Leonard Pokrovski 2026-08-02 22:13:14 0 2KB
Marketing and Advertising
What Is Digital Marketing? A Beginner’s Guide
Introduction: From Billboards to Banners Marketing has always been about connecting with people...
Por Dacey Rankins 2025-10-01 14:45:53 0 7KB
Business
How Do I Retain Startup Culture While Growing?
One of the most common fears entrepreneurs have when scaling is losing the unique startup culture...
Por Dacey Rankins 2025-09-05 15:44:45 0 16KB
Winter Sports
The Thrill of Winter Sports: Embracing the Cold
The Thrill of Winter Sports: Embracing the Cold As winter blankets the world in snow and ice, a...
Por Leonard Pokrovski 2024-07-15 00:29:19 0 20KB

BigMoney.VIP Powered by Hosting Pokrov