ok
Direktori : /lib64/python3.6/urllib/__pycache__/ |
Current File : //lib64/python3.6/urllib/__pycache__/request.cpython-36.opt-2.pyc |
3 ��d}� � ) @ 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 dlZd dlmZmZmZ d dlmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z( d dl)m*Z*m+Z+ yd 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(ej0dd)� Z1da2de j3fddddd*�d+d�Z4d,d� Z5g Z6d}d-d$�Z7d.d%� Z8e j9d/e j:�Z;d0d1� Z<G d2d� d�Z=G d3d� d�Z>d4d � Z?G d5d � d �Z@G d6d� de@�ZAG d7d � d e@�ZBG d8d� de@�ZCd9d:� ZDG d;d � d e@�ZEG d<d� d�ZFG d=d� deF�ZGG d>d� deG�ZHG d?d� d�ZIG d@d� deIe@�ZJG dAd� deIe@�ZKejLZMG dBd� d�ZNG dCd� de@eN�ZOG dDd� de@eN�ZPG dEdF� dFe@�ZQG dGd� deQ�ZReSejTdH��r.G dIdJ� dJeQ�ZUe/jVdJ� G dKd� de@�ZWG dLd� de@�ZXdMdN� ZYdOdP� ZZG dQd� de@�Z[dRdS� Z\G dTd� de@�Z]G dUd� de]�Z^G dVd� de@�Z_dWZ`ejadXk�r�d dYlbmcZcmdZd ndZd"� Zcd[d!� Zdi ZeG d\d&� d&�ZfG d]d'� d'ef�Zgdahd^d_� Zidajd`da� Zkdaldbdc� Zmdanddde� ZoG dfdg� dg�Zpdhdi� Zqd~djdk�Zrdldm� Zsejtdnk�r�d dolumvZvmwZw dpdq� Zxdrds� Zydtdu� Zzdvd#� Z{n6ejadXk�r�dwdx� Z|dyd#� Z{dzd{� Z}d|du� ZzneqZ{erZzdS )� 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 }|jdtd� |d k r2td��ts>td��tjtjj||d�}t |d�}t |�} n0|r~t |d�}t |�} ntd kr�t � a} nt} | j| ||�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<