| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/pip/_vendor/urllib3/__pycache__/ |
Upload File : |
a
X��e# � @ s| d dl mZ d dlZddlmZ ddlmZ ddlmZ dgZ G dd� de
�ZejsxG d d
� d
ej
e j�Zeej
e _dS )� )�absolute_importN� )�encode_multipart_formdata)�six)� urlencode�RequestMethodsc @ sJ e Zd ZdZh d�Zddd�Zddd�Zdd d
�Zddd�Zdd
d�Z dS )r a�
Convenience mixin for classes who implement a :meth:`urlopen` method, such
as :class:`urllib3.HTTPConnectionPool` and
:class:`urllib3.PoolManager`.
Provides behavior for making common types of HTTP request methods and
decides which type of request field encoding to use.
Specifically,
:meth:`.request_encode_url` is for sending requests whose fields are
encoded in the URL (such as GET, HEAD, DELETE).
:meth:`.request_encode_body` is for sending requests whose fields are
encoded in the *body* of the request using multipart or www-form-urlencoded
(such as for POST, PUT, PATCH).
:meth:`.request` is for making any kind of request, it will look up the
appropriate encoding format and use one of the above two methods to make
the request.
Initializer parameters:
:param headers:
Headers to include with all requests, unless other headers are given
explicitly.
> ZOPTIONSZDELETEZHEADZGETNc C s |pi | _ d S )N)�headers)�selfr � r
�?/usr/lib/python3.9/site-packages/pip/_vendor/urllib3/request.py�__init__+ s zRequestMethods.__init__Tc K s t d��d S )NzMClasses extending RequestMethods must implement their own ``urlopen`` method.)�NotImplementedError)r �method�url�bodyr �encode_multipart�multipart_boundary�kwr
r
r �urlopen. s
�zRequestMethods.urlopenc K sR |� � }||d<