Python http.cookiejar

0
12K

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.

Search
Categories
Read More
Телевидение
Телеканала «Краснодар», прямой эфир
МТРК «Краснодар» - динамично развивающийся телеканал, рассказывающий о событиях и...
By Nikolai Pokryshkin 2022-10-29 13:00:12 0 31K
Business
What Is Viral Growth?
In the digital age, many of the fastest-growing companies—Facebook, TikTok, Dropbox, and...
By Dacey Rankins 2025-09-17 10:44:08 0 8K
Libraries
Exploring Some of the Most Popular Libraries Around the World
Libraries have long been centers of knowledge, learning, and culture, but some libraries stand...
By Dacey Rankins 2024-12-12 14:16:11 0 11K
Business
What Is Outbound Lead Generation?
Outbound lead generation is often misunderstood and unfairly dismissed. Many people associate it...
By Dacey Rankins 2025-12-16 21:31:36 0 5K
Economics
What is international finance?
What Is International Finance? International finance is a branch of finance that deals with...
By Leonard Pokrovski 2026-08-20 13:30:23 0 2K

BigMoney.VIP Powered by Hosting Pokrov