Python http.cookiejar

0
11Кб

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.

Поиск
Категории
Больше
Rural Living
The Allure and Challenges of Rural Living
Rural living has always held a special charm for many, offering a slower pace of life, closer...
От Dacey Rankins 2024-12-12 14:22:09 0 10Кб
Human Resources
What Are Collateral Resources: Definition and Examples
Section 1: Defining Collateral Resources We can think of collateral resources as a set of keys...
От Dacey Rankins 2024-03-12 16:00:28 0 34Кб
Basketball
Basketball
Basketball is a globally beloved sport that combines athleticism, strategy, and teamwork into an...
От Leonard Pokrovski 2024-06-15 22:57:15 0 33Кб
Personal Finance
What Is the Best Way to Save Money? A Practical Guide to Building Financial Security
What Is the Best Way to Save Money? A Practical Guide to Building Financial Security Saving...
От Leonard Pokrovski 2025-12-04 17:16:22 0 767
Conventions
User Agreement for Games (EULA), why and how it is drawn up
Most likely, each of us at least once in his life when first launching an application or game...
От FWhoop Xelqua 2022-11-20 19:36:06 0 23Кб

BigMoney.VIP Powered by Hosting Pokrov