Python http.cookiejar

0
9Кб

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.

Поиск
Категории
Больше
Programming
JS Error Handling
JavaScript supports a compact set of statements, specifically control flow statements, that you...
От Jesse Thomas 2023-06-05 19:42:11 0 9Кб
Business
What Happens If I Don't Reach My Funding Goal?
Crowdfunding campaigns have become a popular way to raise money for a wide range of projects,...
От Dacey Rankins 2025-03-28 14:32:06 0 6Кб
Business
What Are the Requirements to Join Monetization Programs Like the YouTube Partner Program?
In today's digital age, content creators are constantly looking for ways to monetize their...
От Dacey Rankins 2025-02-19 14:41:12 0 8Кб
Истории
Come and See. (1985)
After finding an old rifle, a young boy joins the Soviet resistance movement against ruthless...
От Leonard Pokrovski 2023-01-13 21:02:48 0 22Кб
Business
How Can I Validate My Business Idea Without Significant Funding?
Validating a business idea is an essential step in the entrepreneurial process, but many aspiring...
От Dacey Rankins 2025-03-31 15:51:14 0 9Кб

BigMoney.VIP Powered by Hosting Pokrov