Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
ÝPf G ã
@ s d Z ddlZddlZddlZddlZddlmZ ddlmZm Z m
Z
mZ yddlZW n e
k
rp ddlZY nX G dd„ deƒZG dd „ d eƒZd
d„ Zdd
„ Zddd„ZG dd„ deƒZG dd„ dejejƒZdd„ Zdd„ Zdd„ Zd dd„Zdd„ ZdS )!z
requests.cookies
~~~~~~~~~~~~~~~~
Compatibility code to be able to use `cookielib.CookieJar` with requests.
requests.utils imports from here, so be careful with imports.
é Né )Úto_native_string)Ú cookielibÚurlparseÚ
urlunparseÚMorselc @ sŽ e Zd ZdZdd„ Zdd„ Zdd„ Zdd „ Zd
d„ Zdd
„ Z dd„ Z
ddd„Zdd„ Zdd„ Z
dd„ Zedd„ ƒZedd„ ƒZedd„ ƒZdS ) ÚMockRequestaò Wraps a `requests.Request` to mimic a `urllib2.Request`.
The code in `cookielib.CookieJar` expects this interface in order to correctly
manage cookie policies, i.e., determine whether a cookie can be set, given the
domains of the request and the cookie.
The original request object is read-only. The client is responsible for collecting
the new headers via `get_new_headers()` and interpreting them appropriately. You
probably want `get_cookie_header`, defined below.
c C s || _ i | _t| j jƒj| _d S )N)Ú_rÚ_new_headersr ÚurlÚschemeÚtype)ÚselfÚrequest© r ú/usr/lib/python3.6/cookies.pyÚ__init__&