AlkantarClanX12
Current Path : /opt/alt/python37/lib64/python3.7/http/__pycache__/ |
Current File : //opt/alt/python37/lib64/python3.7/http/__pycache__/client.cpython-37.opt-2.pyc |
B YI~dn� � @ sf d dl Zd dlZd dlZd dlZd dlZd dlZd dlZd dl m Z ddddddd d ddd dddddddgZdZdZ dZdZdZdZe� �ejj� dd� ejj�� D �ZdZdZdZe�d �jZe�d!�jZe�d"�Z e�d#�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 �r` Y nX G d2d3� d3e+�Z.e�/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 �0/opt/alt/python37/lib64/python3.7/http/client.py� <dictcomp>j s r i i �d s [^:\s][^:\r\n]*s \n(?![ \t])|\r(?![ \t\n])z[ - ]z[ -]ZPATCHZPOSTZPUT�datac C sf y | � d�S tk r` } z8t|j|j|j|jd|�� | |j|j� |f �d �W d d }~X Y 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'