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.

Поиск
Категории
Больше
Architecture
Architecture
Architecture is the art and science of building, designing buildings and structures (including...
От FWhoop Xelqua 2023-06-20 18:14:39 0 28Кб
Business
What is Microsoft Fabric?
The world of analytics and data management has grown increasingly complex. Organizations are...
От Dacey Rankins 2025-09-01 09:30:29 0 4Кб
Financial Services
Explicit and implicit costs and accounting and economic profit
Key points Privately owned firms are motivated to earn profits. Profit is the...
От Mark Lorenzo 2023-07-17 19:32:29 0 17Кб
Business
Is Viral Growth Always Desirable?
Viral growth is one of the most exciting concepts in business and marketing. The idea that your...
От Dacey Rankins 2025-09-17 10:53:01 0 7Кб
News and Media
The Role of News and Media in Society: Informing, Shaping, and Challenging the Public
The news and media landscape has undergone dramatic changes in the past few decades, reshaping...
От Dacey Rankins 2024-11-13 15:41:21 0 10Кб

BigMoney.VIP Powered by Hosting Pokrov