관리-도구
편집 파일: response.cpython-38.pyc
U &?�f�w � @ sR d dl mZ d dlZd dlZd dlZd dlZd dlZd dlmZ d dl m Z d dl mZ dZddlmZ ddlmZ dd lmZmZ dd lmZmZmZmZmZmZmZmZmZm Z ddl!m"Z" ddl#m$Z$m%Z% e�&e'�Z(G d d� de)�Z*G dd� de)�Z+G dd� de)�Z,edk �r$G dd� de)�Z-G dd� de)�Z.dd� Z/G dd� dej0�Z1dS )� )�absolute_importN)�contextmanager)�error)�timeout� )�util)�HTTPHeaderDict)�BaseSSLError� HTTPException) �BodyNotHttplibCompatible�DecodeError� HTTPError�IncompleteRead�InvalidChunkLength� InvalidHeader� ProtocolError�ReadTimeoutError�ResponseNotChunked�SSLError)�six)�is_fp_closed�is_response_to_headc @ s$ e Zd Zdd� Zdd� Zdd� ZdS )�DeflateDecoderc C s d| _ d| _t�� | _d S )NT� )� _first_try�_data�zlib� decompressobj�_obj��self� r! �J/opt/hc_python/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py�__init__$ s zDeflateDecoder.__init__c C s t | j|�S �N��getattrr �r �namer! r! r"