관리-도구
편집 파일: client.cpython-36.opt-2.pyc
3 ��2a�� � @ sn d dl Zd dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl m Z ddddddd d ddd dddddddgZdZdZ dZdZdZdZe� jejj� dd� ejjj� D �ZdZdZdZejd �jZejd!�jZejd"�Z ejd#�Z!d$d%d&hZ"dBd(d)�Z#G d*d+� d+ej$j%�Z&d,d-� Z'e&fd.d/�Z(G d0d� dej)�Z*G d1d� d�Z+yd dl,Z,W n e-k �rh Y nX G d2d3� d3e+�Z.ej/d3� G d4d� de0�Z1G d5d� de1�Z2G d6d� de1�Z3G d7d� de1�Z4G d8d� de1�Z5G d9d � d e1�Z6G d:d � d e1�Z7G d;d� de1�Z8G d<d � d e8�Z9G d=d� de8�Z:G d>d� de8�Z;G d?d� de1�Z<G d@d� de1�Z=G dAd� de>e<�Z?e1Z@dS )C� N)�urlsplit�HTTPResponse�HTTPConnection� HTTPException�NotConnected�UnknownProtocol�UnknownTransferEncoding�UnimplementedFileMode�IncompleteRead� InvalidURL�ImproperConnectionState�CannotSendRequest�CannotSendHeader�ResponseNotReady� BadStatusLine�LineTooLong�RemoteDisconnected�error� responses�P i� ZUNKNOWNZIdlezRequest-startedzRequest-sentc C s i | ]}|j |�qS � )�phrase)�.0�vr r �+/opt/alt/python36/lib64/python3.6/client.py� <dictcomp>k s r i i �d s [^:\s][^:\r\n]*s \n(?![ \t])|\r(?![ \t\n])z[ - ]z[ -]ZPATCHZPOSTZPUT�datac C sf y | j d�S tk r` } z:t|j|j|j|jd|j� | |j|j� |f �d �W Y d d }~X nX d S )Nzlatin-1z`%s (%.20r) is not valid Latin-1. Use %s.encode('utf-8') if you want to send it encoded in UTF-8.)�encode�UnicodeEncodeError�encoding�object�start�end�title)r �name�errr r r �_encode� s r'