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.

Căutare
Categorii
Citeste mai mult
Business
What Are Common Questions Asked in Interviews About Conflict Resolution?
Conflict resolution is a critical competency in the modern workplace. During interviews, hiring...
By Dacey Rankins 2025-08-05 14:55:19 0 973
Management
ESSENCE AND BASIC CONCEPTS OF MANAGEMENT
The essence of management is to manage everything: production, finances, personnel, resources to...
By Dacey Rankins 2024-03-15 17:25:07 0 29K
Социальные проблемы
Мясо и кровь. Wildland. (2020)
Ида, после гибели своей матери в автокатастрофе, переезжает жить к своей тёте и двоюродным...
By Nikolai Pokryshkin 2022-10-19 17:58:26 0 24K
Business
Why Should We Hire You?
  An Opportunity for Candidates to Highlight Their Unique Qualifications and Fit for the...
By Dacey Rankins 2025-06-18 14:58:03 0 5K
Business
How do I highlight achievements without sounding boastful in my business biography?
Writing a business biography involves striking the right balance between showcasing your...
By Dacey Rankins 2025-01-08 13:57:07 0 13K

BigMoney.VIP Powered by Hosting Pokrov