Python http.cookiejar

0
11KB

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.

Suche
Kategorien
Mehr lesen
Жизненные вопросы
В поисках Немо. Finding Nemo. (2003)
Рыба-клоун Марлин после трагической гибели жены в одиночку растит своего единственного сына Немо....
Von Nikolai Pokryshkin 2023-02-27 12:22:07 0 30KB
Жизненные вопросы
Помни. Memento. (2000)
Леонард Шелби изысканно и дорого одет, ездит на новеньком «Ягуаре», но проживает в...
Von Nikolai Pokryshkin 2022-12-12 12:27:43 0 26KB
Programming
Python Microsoft Store API
The following example demonstrates how to obtain an Azure AD access token that you can...
Von Jesse Thomas 2023-04-25 21:48:29 0 13KB
Business
Who Will I Report To?
Understanding who you will report to is critical for determining how your role fits within the...
Von Dacey Rankins 2025-08-09 18:29:48 0 5KB
Programming
Difference between C++ and JavaScript
C++ or CPP is a general-purpose statically typed object-oriented programming language. In 1980,...
Von Jesse Thomas 2023-06-06 20:53:20 0 11KB

BigMoney.VIP Powered by Hosting Pokrov