AlkantarClanX12
Current Path : /proc/self/root/usr/lib64/python3.8/urllib/__pycache__/ |
Current File : //proc/self/root/usr/lib64/python3.8/urllib/__pycache__/request.cpython-38.opt-2.pyc |
U e5d�� � ! @ s� d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl Z d dl Z d dlZd dlZd dl Z d dlZd dlZd dlZd dlmZmZmZ d dlmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z' d dl(m)Z)m*Z* zd dl+Z+W n e,k �r dZ-Y nX dZ-ddd d ddd ddddddddddddddddddd d!d"d#d$d%d&d'g!Z.d(ej/dd)� Z0da1de j2fddddd*�d+d�Z3d,d� Z4g Z5d}d-d$�Z6d.d%� Z7e �8d/e j9�Z:d0d1� Z;G d2d� d�Z<G d3d� d�Z=d4d � Z>G d5d � d �Z?G d6d� de?�Z@G d7d � d e?�ZAG d8d� de?�ZBd9d:� ZCG d;d � d e?�ZDG d<d� d�ZEG d=d� deE�ZFG d>d� deF�ZGG d?d� d�ZHG d@d� deHe?�ZIG dAd� deHe?�ZJejKZLG dBd� d�ZMG dCd� de?eM�ZNG dDd� de?eM�ZOG dEdF� dFe?�ZPG dGd� deP�ZQeRejSdH��r&G dIdJ� dJeP�ZTe.�UdJ� G dKd� de?�ZVG dLd� de?�ZWdMdN� ZXdOdP� ZYG dQd� de?�ZZdRdS� Z[G dTd� de?�Z\G dUd� de\�Z]G dVd� de?�Z^dWZ_ej`dXk�r�d dYlambZbmcZc ndZd"� Zbd[d!� Zci ZdG d\d&� d&�ZeG d]d'� d'ee�Zfdagd^d_� Zhdaid`da� Zjdakdbdc� Zldamddde� ZnG dfdg� dg�Zodhdi� Zpd~djdk�Zqdldm� Zrejsdnk�r�d doltmuZumvZv dpdq� Zwdrds� Zxdtdu� Zydvd#� Zzn6ej`dXk�r�dwdx� Z{dyd#� Zzdzd{� Z|d|du� ZynepZzeqZydS )� N)�URLError� HTTPError�ContentTooShortError)�urlparse�urlsplit�urljoin�unwrap�quote�unquote� _splittype� _splithost� _splitport� _splituser�_splitpasswd� _splitattr�_splitquery�_splitvalue� _splittag� _to_bytes�unquote_to_bytes� urlunparse)� addinfourl�addclosehookFT�Request�OpenerDirector�BaseHandler�HTTPDefaultErrorHandler�HTTPRedirectHandler�HTTPCookieProcessor�ProxyHandler�HTTPPasswordMgr�HTTPPasswordMgrWithDefaultRealm�HTTPPasswordMgrWithPriorAuth�AbstractBasicAuthHandler�HTTPBasicAuthHandler�ProxyBasicAuthHandler�AbstractDigestAuthHandler�HTTPDigestAuthHandler�ProxyDigestAuthHandler�HTTPHandler�FileHandler� FTPHandler�CacheFTPHandler�DataHandler�UnknownHandler�HTTPErrorProcessor�urlopen�install_opener�build_opener�pathname2url�url2pathname� getproxies�urlretrieve� urlcleanup� URLopener�FancyURLopenerz%d.%d� )�cafile�capath� cadefault�contextc C s� |s|s|rfdd l }|�dtd� |d k r2td��ts>td��tjtjj||d�}t |d�}t |�} n0|r~t |d�}t |�} ntd kr�t � a} nt} | �| ||�S )Nr zJcafile, capath and cadefault are deprecated, use a custom context instead.r: zDYou can't pass both context and any of cafile, capath, and cadefaultzSSL support not available)r; r<