관리-도구
편집 파일: retry.cpython-38.pyc
U &?�f�U � @ s� d dl mZ d dlZd dlZd dlZd dlZd dlZd dlmZ d dl m Z ddlmZm Z mZmZmZmZmZ ddlmZ e�e�Zedd d ddd g�Ze� ZG dd� de�Ze�e�G dd� de��Zed�e_dS )� )�absolute_importN)� namedtuple)� takewhile� )�ConnectTimeoutError� InvalidHeader� MaxRetryError� ProtocolError� ProxyError�ReadTimeoutError� ResponseError)�six�RequestHistory�method�url�error�status�redirect_locationc @ sZ e Zd Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zd S )� _RetryMetac C s t �dt� | jS �Nz}Using 'Retry.DEFAULT_METHOD_WHITELIST' is deprecated and will be removed in v2.0. Use 'Retry.DEFAULT_ALLOWED_METHODS' instead��warnings�warn�DeprecationWarning�DEFAULT_ALLOWED_METHODS��cls� r �L/opt/hc_python/lib/python3.8/site-packages/pip/_vendor/urllib3/util/retry.py�DEFAULT_METHOD_WHITELIST$ s �z#_RetryMeta.DEFAULT_METHOD_WHITELISTc C s t �dt� || _d S r r �r �valuer r r r - s �c C s t �dt� | jS �Nz�Using 'Retry.DEFAULT_REDIRECT_HEADERS_BLACKLIST' is deprecated and will be removed in v2.0. Use 'Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT' instead�r r r �"DEFAULT_REMOVE_HEADERS_ON_REDIRECTr r r r �"DEFAULT_REDIRECT_HEADERS_BLACKLIST6 s �z-_RetryMeta.DEFAULT_REDIRECT_HEADERS_BLACKLISTc C s t �dt� || _d S r"