관리-도구
편집 파일: client_proto.cpython-37.opt-1.pyc
B �k�a � @ s� d dl Z d dlmZ d dlmZmZmZ ddlmZ ddl m Z mZmZm Z ddlmZ ddlmZmZ dd lmZmZmZ G d d� deeeeef �ZdS )� N)�suppress)�Any�Optional�Tuple� )�BaseProtocol)� ClientOSError�ClientPayloadError�ServerDisconnectedError�ServerTimeoutError)�BaseTimerContext)�HttpResponseParser�RawResponseMessage)� EMPTY_PAYLOAD� DataQueue�StreamReaderc sP e Zd ZdZejdd�dd�Zeed�dd��Z eed�d d ��Z dd�dd�Zdd�d d�Zed�dd�Z ee dd�� fdd�Zdd�dd�Zdd�� fdd�Zdd�� fdd�Zedd�� fdd�Zeedd�dd�Zdddd dd!d"�ee eeeee edd#�d$d%�Zdd�d&d'�Zdd�d(d)�Zdd�d*d+�Zedd,�d-d.�Z� Z S )/�ResponseHandlerz8Helper class to adapt between Protocol and StreamReader.N)�loop�returnc C sZ t j| |d� t�| |� d| _d | _d| _d | _d | _d| _d| _ d | _ d | _d | _d S )N)r F� ) r �__init__r � _should_close�_payload� _skip_payload�_payload_parserZ_timer�_tail� _upgraded�_parser� _read_timeout�_read_timeout_handle)�selfr � r! �G/opt/alt/python37/lib64/python3.7/site-packages/aiohttp/client_proto.pyr s zResponseHandler.__init__)r c C s | j S )N)r )r r! r! r"