[EDIT] FILE: client.cpython-311.opt-2.pyc
� ��|j�� � �T � d dl Zd dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl Z d dlmZ g d�Z dZdZdZdZdZd Z e� � � ej j � � d � ej j � � � D � � ZdZdZdZd Z ej d� � j Z ej d� � j! Z" ej d� � Z# ej d� � Z$h d�Z%d>d�Z&de'de'fd�Z( G d� dej) j* � � Z+d� Z,e+fd�Z- G d� dej. � � Z/ G d� d� � Z0 d dl1Z1 G d � d!e0� � Z2e �3 d!� � n# e4$ r Y nw xY w G d"� d#e5� � Z6 G d$� d%e6� � Z7 G d&� d'e6� � Z8 G d(� d)e6� � Z9 G d*� d+e6� � Z: G d,� d-e6� � Z; G d.� d/e6� � Z< G d0� d1e6� � Z= G d2� d3e=� � Z> G d4� d5e=� � Z? G d6� d7e=� � Z@ G d8� d9e6� � ZA G d:� d;e6� � ZB G d<� d=eCeA� � ZDe6ZEdS )?� N)�urlsplit)�HTTPResponse�HTTPConnection� HTTPException�NotConnected�UnknownProtocol�UnknownTransferEncoding�UnimplementedFileMode�IncompleteRead� InvalidURL�ImproperConnectionState�CannotSendRequest�CannotSendHeader�ResponseNotReady� BadStatusLine�LineTooLong�RemoteDisconnected�error� responses�P i� �UNKNOWN�IdlezRequest-startedzRequest-sentc � � i | ] }||j ��S � )�phrase)�.0�vs �2/opt/alt/python311/lib64/python3.11/http/client.py� <dictcomp>r l s � �G�G�G�Q�Q���G�G�G� i �d i s [^:\s][^:\r\n]*s \n(?![ \t])|\r(?![ \t\n])z[ - ]z[ -]> �PUT�POST�PATCH�datac � � | � d� � S # t $ r[}t |j |j |j |j |� � � �d| |j |j � d�d|�d�� � d �d }~ww xY w)N�latin-1z (z.20z) is not valid Latin-1. Use z9.encode('utf-8') if you want to send it encoded in UTF-8.)�encode�UnicodeEncodeError�encoding�object�start�end�title)r% �name�errs r �_encoder1 � s� � �F� E��{�{�9�%�%�%��� E� E� E� ��L��J��I��G� �Z�Z�\�\�\�\�4�� �#�'� 1�2�2�2�2�D�D�D� :�;� ;� AE� E�����E���s � � A=�AA8�8A=�enc_name�returnc �H � | � d� � \ } }}|r| dz } | S )N� %� ])� partition)r2 �percent�_s r �_strip_ipv6_ifacer: � s6 � �3�#�-�-�d�3�3��H�g�q�� ��D����Or c � � e Zd Zd� ZdS )�HTTPMessagec �: � |� � � dz }t |� � }g }d}| � � � D ]Z}|d |� � � � |k rd}n|d d� � � � sd}|r|� |� � �[|S )N�:r � )�lower�len�keys�isspace�append)�selfr/ �n�lst�hit�lines r �getallmatchingheadersz!HTTPMessage.getallmatchingheaders� s� � � � �z�z�|�|�c�!����I�I�������I�I�K�K� !� !�D��B�Q�B�x�~�~���4�'�'�����"�1�"�X�%�%�'�'� ���� !�� � �4� � � ��� r N)�__name__� __module__�__qualname__rJ r r r r<