Python http.cookiejar

0
6KB

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.

Rechercher
Catégories
Lire la suite
Science Fiction and Fantasy
Star Wars: Episode IV - A New Hope. (1977)
Luke Skywalker joins forces with a Jedi Knight, a cocky pilot, a Wookiee and two droids to save...
Par Leonard Pokrovski 2022-11-22 10:13:34 0 19KB
Social Issues
Athlete A.
Follow the Indianapolis Star reporters that broke the story about USA Gymnastics doctor Larry...
Par Leonard Pokrovski 2022-10-23 20:28:16 0 20KB
Programming
Discord.py vs Nextcord
When making a bot on Discord, you've probably ran into 2 libraries that looks really similar. In...
Par Jesse Thomas 2023-02-07 21:56:18 0 6KB
Publications
Exploring the Evolution and Importance of Public Shopping Spaces
Exploring the Evolution and Importance of Public Shopping Spaces In the bustling tapestry of...
Par Leonard Pokrovski 2024-06-01 11:49:36 0 24KB
Life Issues
Addicted. (2014)
A gallerist risks her family and flourishing career when she enters into an affair with a...
Par Leonard Pokrovski 2023-05-21 18:12:36 0 24KB
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov