Python http.cookiejar

0
11K

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
Why Do I Need a Business Consulting Service?
In today’s competitive and ever-evolving business environment, companies face various...
Por Dacey Rankins 2025-02-10 18:11:31 0 11K
Financial Services
Types of market-oriented environmental tools
Key points The three main categories of market-oriented environmental policies are...
Por Mark Lorenzo 2023-05-03 20:55:50 0 11K
Bibliography
Unlocking the Power of References in Bibliographies: A Comprehensive Guide
Unlocking the Power of References in Bibliographies: A Comprehensive Guide Bibliographies are...
Por Leonard Pokrovski 2024-05-16 23:57:31 0 16K
Социальные проблемы
К северу через северо-запад. North by Northwest. (1959)
Однажды успешного рекламного агента Роджера Торнхилла ошибочно принимают за агента разведки...
Por Nikolai Pokryshkin 2023-01-16 18:44:14 0 22K
Programming
String.prototype.match()
A regular expression object, or any object that has a Symbol.match method....
Por Jesse Thomas 2023-05-31 22:12:41 0 11K

BigMoney.VIP Powered by Hosting Pokrov