AlkantarClanX12
Current Path : /opt/alt/python39/lib64/python3.9/http/__pycache__/ |
Current File : //opt/alt/python39/lib64/python3.9/http/__pycache__/client.cpython-39.opt-2.pyc |
a R�f�� � @ sJ d dl Zd dlZd dlZd dlZd dlZd dlZd dlZd dlZ d dl mZ g d�ZdZ dZdZdZdZd Ze� �ejj� d d� ejj�� D �ZdZd ZdZe�d�jZe�d�jZ e�d�Z!e�d�Z"h d�Z#d?dd�Z$G dd� dej%j&�Z'dd� Z(e'fdd�Z)G dd� dej*�Z+G dd � d �Z,zd dl-Z-W n e.�yD Y n0 G d!d"� d"e,�Z/e�0d"� G d#d$� d$e1�Z2G d%d&� d&e2�Z3G d'd(� d(e2�Z4G d)d*� d*e2�Z5G d+d,� d,e2�Z6G d-d.� d.e2�Z7G d/d0� d0e2�Z8G d1d2� d2e2�Z9G d3d4� d4e9�Z:G d5d6� d6e9�Z;G d7d8� d8e9�Z<G d9d:� d:e2�Z=G d;d<� d<e2�Z>G d=d>� d>e?e=�Z@e2ZAdS )@� 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/python39/lib64/python3.9/http/client.py� <dictcomp>k � r i i �d s [^:\s][^:\r\n]*s \n(?![ \t])|\r(?![ \t\n])z[ - ]z[ -]> ZPUTZPATCHZPOST�datac C sj z| � d�W S tyd } z@t|j|j|j|jd|�� | |j|j� |f �d �W Y d }~n d }~0 0 d S )N�latin-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) c @ s e Zd Zdd� ZdS )�HTTPMessagec C sj |� � d }t|�}g }d}| �� D ]@}|d |� � � |krBd}n|d d� �� sVd}|r$|�|� q$|S )N�:r � )�lower�len�keys�isspace�append)�selfr'