관리-도구
편집 파일: retry.cpython-39.pyc
a ��Re�S � @ s� d dl mZ d dlZd dlZd dlZd dlZd dlZd dlmZ d dl m Z ddlmZm Z mZmZmZmZmZ ddlmZ e�e�Zedg d ��Ze� ZG d d� de�Ze�e�G dd � d e��Zed�e_dS )� )�absolute_importN)� namedtuple)� takewhile� )�ConnectTimeoutError� InvalidHeader� MaxRetryError� ProtocolError� ProxyError�ReadTimeoutError� ResponseError)�six�RequestHistory)�method�url�error�status�redirect_locationc @ s@ e Zd Zedd� �Zejdd� �Zedd� �Zejdd� �ZdS )� _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 ��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/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"