Python http.cookiejar

0
8KB

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
Financial Services
8 money tips for freelance workers
If you’ve traded in your cubicle to become a freelancer, you’re not alone. Fifteen...
Par Mark Lorenzo 2023-05-18 19:49:49 0 20KB
Телевидение
World Fashion Channel Live TV.
World Fashion Channel – это международный телеканал о современных тенденциях в индустрии...
Par Nikolai Pokryshkin 2022-11-01 08:49:23 0 27KB
Stories
Gone with the Wind. (1939)
American motion picture classic in which a manipulative woman and a roguish man conduct a...
Par Leonard Pokrovski 2023-03-04 16:13:44 0 20KB
Boxing
The Sweet Science: A Look into the World of Boxing
Boxing, often referred to as "the sweet science," is a sport that combines raw physical power...
Par Dacey Rankins 2024-06-18 17:48:08 0 13KB
Mental Health
Dyslexia: classification
Dyslexia is divided into developmental and acquired forms. Acquired dyslexia occurs subsequent to...
Par Kelsey Rodriguez 2023-06-13 19:40:50 0 8KB
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov