관리-도구
편집 파일: retry.cpython-310.pyc
o ƚ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 � 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-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/urllib3/util/retry.py�DEFAULT_METHOD_WHITELIST$ � �z#_RetryMeta.DEFAULT_METHOD_WHITELISTc C � t �dt� || _d S r r �r �valuer r r r - � � c C r �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 r! z-_RetryMeta.DEFAULT_REDIRECT_HEADERS_BLACKLISTc C r"