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.

Rechercher
Catégories
Lire la suite
Nature and Science
Grizzly Man (2005)
A devastating and heart-rending take on grizzly bear activists Timothy Treadwell and Amie...
Par Leonard Pokrovski 2023-07-28 20:39:14 0 525KB
Социальные проблемы
На игле. Trainspotting. (1996)
История четырёх друзей-наркоманов в Эдинбурге 1990-х годов. Кто-то из них пытается завязать, а...
Par Nikolai Pokryshkin 2023-03-09 13:08:57 0 34KB
Productivity
What is the Eisenhower Matrix for task management?
What Is the Eisenhower Matrix for Task Management? In a world full of responsibilities, emails,...
Par Michael Pokrovski 2026-03-15 20:58:28 0 4KB
Business
What Are Your Strengths and Weaknesses? A Window into Self-Awareness and Growth Potential
The interview question “What are your strengths and weaknesses?” remains a classic...
Par Dacey Rankins 2025-06-25 12:42:58 0 21KB
Productivity
How to make realistic goals?
To set a realistic goal is to have an honest conversation with your limitations. We are often...
Par Michael Pokrovski 2026-04-30 17:36:02 0 1KB

BigMoney.VIP Powered by Hosting Pokrov