관리-도구
편집 파일: client_proto.cpython-311.pyc
� �܋f�! � � � d dl Z d dlmZ d dlmZmZmZ ddlmZ ddl m Z mZmZm Z ddlmZmZ ddlmZmZ dd lmZmZmZ G d � deeeeef � � ZdS )� N)�suppress)�Any�Optional�Tuple� )�BaseProtocol)� ClientOSError�ClientPayloadError�ServerDisconnectedError�ServerTimeoutError)�BaseTimerContext�status_code_must_be_empty_body)�HttpResponseParser�RawResponseMessage)� EMPTY_PAYLOAD� DataQueue�StreamReaderc �| � � e Zd ZdZdej ddfd�Zedefd�� � Z edefd�� � Z d*d�Zd*d �Zdefd �Z dee ddf� fd�Zd*d �Zd*� fd�Zd*� fd�Zdeddf� fd�Zdededdfd�Zdddddddddd� dee dedededee ded ed!ed"eddfd#�Zd*d$�Zd*d%�Zd*d&�Zd*d'�Zd(eddfd)�Z � xZ!S )+�ResponseHandlerz8Helper class to adapt between Protocol and StreamReader.�loop�returnNc � � t j | |�� � t j | |� � d| _ d | _ d| _ d | _ d | _ d| _ d| _ d | _ d | _ d | _ d| _ d S )N)r F� � )r �__init__r � _should_close�_payload� _skip_payload�_payload_parser�_timer�_tail� _upgraded�_parser� _read_timeout�_read_timeout_handle�_timeout_ceil_threshold)�selfr s �K/opt/cloudlinux/venv/lib64/python3.11/site-packages/aiohttp/client_proto.pyr zResponseHandler.__init__ s� � ���d��.�.�.�.���4��&�&�&�"���04�� �"���#�������� ����59���.2���CG��!�89��$�$�$r c � � | j S �N)r"