Python http.cookiejar

0
9K

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.

Pesquisar
Categorias
Leia Mais
Social Issues
Into the Wild. (2007)
After graduating from Emory University, top student and athlete Christopher McCandless abandons...
Por Leonard Pokrovski 2023-06-19 20:17:49 0 24K
Спорт
Бойцовский клуб. Fight Club. (1999)
Сотрудник страховой компании страдает хронической бессонницей и отчаянно пытается вырваться из...
Por Nikolai Pokryshkin 2022-11-07 20:17:51 0 38K
Социальные проблемы
Элегия Хиллбилли. Hillbilly Elegy. (2020)
Исследование темы американской мечты на примере трёх поколений одной семьи, живущих в горах...
Por Nikolai Pokryshkin 2022-10-06 22:16:57 0 25K
Hacking
Hacking: The Good, the Bad, and the Ethical
Hacking is a term that evokes a range of emotions and ideas, often linked to cybersecurity...
Por Dacey Rankins 2024-11-04 18:09:28 0 8K
Телевидение
Телеканала «Краснодар», прямой эфир
МТРК «Краснодар» - динамично развивающийся телеканал, рассказывающий о событиях и...
Por Nikolai Pokryshkin 2022-10-29 13:00:12 0 23K

BigMoney.VIP Powered by Hosting Pokrov