Python http.cookiejar

0
11Кб

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.

Поиск
Категории
Больше
Business
How Do You Handle Rejections? Maintaining Professionalism and Empathy in Candidate Communication
Rejection is an inevitable part of the hiring process, but how it’s handled can...
От Dacey Rankins 2025-06-25 12:50:42 0 6Кб
Small Business
How to open a business in the United States as a foreigner remotely
How to open a business in the United States as a foreigner remotely If you...
От Leonard Pokrovski 2024-03-18 19:13:10 0 28Кб
Programming
JavaScript Map
Map objects are collections of key-value pairs. A key in the Map may only...
От Jesse Thomas 2023-05-19 20:41:47 0 12Кб
Marketing and Advertising
What Are the Career Backgrounds of Top Advertising Executives?
Unlike many traditional corporate careers, advertising leadership rarely follows a single,...
От Dacey Rankins 2026-01-07 14:27:37 0 2Кб
Business
What Feedback Models Exist?
Giving effective feedback is more than a skill—it’s a practice. Structured feedback...
От Dacey Rankins 2025-07-24 18:14:33 0 7Кб

BigMoney.VIP Powered by Hosting Pokrov