Your IP : 3.17.174.204
�
R�Dg+� � �4 � d Z ddlZddlZddlZddlmZ ddlmZ ddl m
Z
ddlmZm
Z
mZmZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZmZmZ dd
lmZmZmZm Z m!Z!m"Z"m#Z#m$Z$ ddl%m&Z&m'Z' ddl(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2 ddl3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z? ddl3m@ZA ddlBmCZC eCjD eCjE eCjF eCjG eCjH fZIdZJdZKdZL G d� deM� � ZN G d� deM� � ZO G d� deO� � ZP G d� deNeO� � ZQ G d� deM� � ZRdS ) z`
requests.models
~~~~~~~~~~~~~~~
This module contains the primary objects that power Requests.
� N)�RequestField)�encode_multipart_formdata)� parse_url)�DecodeError�ReadTimeoutError�
ProtocolError�LocationParseError)�UnsupportedOperation� )�
default_hooks)�CaseInsensitiveDict)�
HTTPBasicAuth)�cookiejar_from_dict�get_cookie_header�_copy_cookie_jar)� HTTPError�
MissingSchema�
InvalidURL�ChunkedEncodingError�ContentDecodingError�ConnectionError�StreamConsumedError�InvalidJSONError)�to_native_string�unicode_is_ascii)
�guess_filename�get_auth_from_url�requote_uri�stream_decode_response_unicode�to_key_val_list�parse_header_links�iter_slices�guess_json_utf� super_len�check_header_validity)�Callable�Mapping� cookielib�
urlunparse�urlsplit� urlencode�str�bytes�is_py2�chardet�builtin_str�
basestring)�json)�codes� i ( i c �P � e Zd Zed� � � Zed� � � Zed� � � ZdS )�RequestEncodingMixinc � � g }t | j � � }|j }|sd}|� |� � |j }|r*|� d� � |� |� � d� |� � S )zBuild the path URL to use.�/�?� )r* �url�path�append�query�join)�selfr; �pr<