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.

Pesquisar
Categorias
Leia mais
Business
Digital marketing
Digital marketing is a way to promote goods and services over the Internet. To find new...
Por Dacey Rankins 2024-09-03 18:43:08 0 11KB
Stories
A Brief History of Computers: From Early Calculators to Modern Innovation
The history of computers is a tale of remarkable progress, driven by the desire to solve...
Por Dacey Rankins 2024-12-10 14:25:05 0 6KB
Online Writing
133 sites that pay for articles.
If you write articles, I advise you to pay attention to websites. They pay well, while the range...
Por FWhoop Xelqua 2022-12-18 16:13:47 0 66KB
Mental Health
Dyslexia: Pathophysiology
For most people who are right-hand dominant, the left hemisphere of their brain is more...
Por Kelsey Rodriguez 2023-06-26 17:18:55 0 8KB
Programming
Python SlowAPI
SlowAPI is a ratelimiter library for FastAPI and Starlette adapted from flask-limiter. This...
Por Jesse Thomas 2023-04-12 18:06:14 0 8KB
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov