Python http.cookiejar

0
7K

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.

Site içinde arama yapın
Kategoriler
Read More
Социальные проблемы
Бешеные псы. Reservoir Dogs. (1992)
Это должно было стать идеальным преступлением. Задумав ограбить ювелирный магазин, криминальный...
By Nikolai Pokryshkin 2023-01-11 17:57:32 0 21K
Социальные проблемы
Казино. Casino. (1995)
Никто не может сравниться с Сэмом Ротстином. Никто не умеет зарабатывать деньги, как он. Никто не...
By Nikolai Pokryshkin 2023-02-10 12:50:41 0 20K
Sport
Creed. (2015)
The former World Heavyweight Champion Rocky Balboa serves as a trainer and mentor to Adonis...
By Leonard Pokrovski 2023-04-29 18:02:07 0 20K
Ethics
Problems of Ethics and Security in the Information System
Information systems have made many businesses successful today. Some companies, such as Google,...
By Dacey Rankins 2024-03-22 17:56:23 0 19K
Природа и наука
Кролик Питер 2. Peter Rabbit 2: The Runaway. (2021)
Продолжение истории маленького и непоседливого кролика по имени Питер. Беатрис, Томас и...
By Nikolai Pokryshkin 2022-09-17 19:02:02 0 21K
image/svg+xml


BigMoney.VIP Powered by Hosting Pokrov