관리-도구
편집 파일: models.cpython-38.opt-1.pyc
U ��.e� � @ s� 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# ddl$m%Z%m&Z& ddl'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1 ddl2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z> ddl2m?Z@ ddlAmBZB eBjCeBjDeBjEeBjFeBjGfZHdZIdZJdZKG dd� deL�ZMG dd� deL�ZNG dd� deN�ZOG dd� deMeN�ZPG dd� deL�ZQdS ) 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)�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 @ s0 e Zd Zedd� �Zedd� �Zedd� �ZdS )�RequestEncodingMixinc C sN g }t | j�}|j}|sd}|�|� |j}|rD|�d� |�|� d�|�S )zBuild the path URL to use.�/�?� )r( �url�path�append�query�join)�selfr7 �pr8 r: � r>