golden hour
/opt/alt/python37/lib/python3.7/site-packages/pip/_vendor/requests
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.py
4.36 KB
Del
OK
__init__.pyc
4.33 KB
Del
OK
__init__.pyo
4.16 KB
Del
OK
__pycache__
-
Del
OK
__version__.py
441 B
Del
OK
__version__.pyc
605 B
Del
OK
__version__.pyo
605 B
Del
OK
_internal_utils.py
1.07 KB
Del
OK
_internal_utils.pyc
1.54 KB
Del
OK
_internal_utils.pyo
1.49 KB
Del
OK
adapters.py
21.04 KB
Del
OK
adapters.pyc
19.22 KB
Del
OK
adapters.pyo
19.22 KB
Del
OK
api.py
6.34 KB
Del
OK
api.pyc
7.26 KB
Del
OK
api.pyo
7.26 KB
Del
OK
auth.py
9.97 KB
Del
OK
auth.pyc
10.61 KB
Del
OK
auth.pyo
10.61 KB
Del
OK
certs.py
465 B
Del
OK
certs.pyc
631 B
Del
OK
certs.pyo
631 B
Del
OK
compat.py
2 KB
Del
OK
compat.pyc
1.92 KB
Del
OK
compat.pyo
1.92 KB
Del
OK
cookies.py
18 KB
Del
OK
cookies.pyc
22.85 KB
Del
OK
cookies.pyo
22.85 KB
Del
OK
exceptions.py
3.1 KB
Del
OK
exceptions.pyc
7.32 KB
Del
OK
exceptions.pyo
7.32 KB
Del
OK
help.py
3.49 KB
Del
OK
help.pyc
3.36 KB
Del
OK
help.pyo
3.36 KB
Del
OK
hooks.py
757 B
Del
OK
hooks.pyc
1.23 KB
Del
OK
hooks.pyo
1.23 KB
Del
OK
models.py
33.48 KB
Del
OK
models.pyc
29.39 KB
Del
OK
models.pyo
29.39 KB
Del
OK
packages.py
695 B
Del
OK
packages.pyc
591 B
Del
OK
packages.pyo
591 B
Del
OK
sessions.py
28.63 KB
Del
OK
sessions.pyc
22.74 KB
Del
OK
sessions.pyo
22.74 KB
Del
OK
status_codes.py
4.09 KB
Del
OK
status_codes.pyc
6.04 KB
Del
OK
status_codes.pyo
6.04 KB
Del
OK
structures.py
2.93 KB
Del
OK
structures.pyc
5.54 KB
Del
OK
structures.pyo
5.54 KB
Del
OK
utils.py
29.47 KB
Del
OK
utils.pyc
27.41 KB
Del
OK
utils.pyo
27.41 KB
Del
OK
Edit: api.pyo
� r�Rec @ sq d Z d d l m Z d � Z d d � Z d � Z d � Z d d d � Z d d � Z d d � Z d � Z d S( s� requests.api ~~~~~~~~~~~~ This module implements the Requests API. :copyright: (c) 2012 by Kenneth Reitz. :license: Apache2, see LICENSE for more details. i ( t sessionsc K s2 t j � � } | j d | d | | � SWd QXd S( s� Constructs and sends a :class:`Request <Request>`. :param method: method for the new :class:`Request` object: ``GET``, ``OPTIONS``, ``HEAD``, ``POST``, ``PUT``, ``PATCH``, or ``DELETE``. :param url: URL for the new :class:`Request` object. :param params: (optional) Dictionary, list of tuples or bytes to send in the query string for the :class:`Request`. :param data: (optional) Dictionary, list of tuples, bytes, or file-like object to send in the body of the :class:`Request`. :param json: (optional) A JSON serializable Python object to send in the body of the :class:`Request`. :param headers: (optional) Dictionary of HTTP Headers to send with the :class:`Request`. :param cookies: (optional) Dict or CookieJar object to send with the :class:`Request`. :param files: (optional) Dictionary of ``'name': file-like-objects`` (or ``{'name': file-tuple}``) for multipart encoding upload. ``file-tuple`` can be a 2-tuple ``('filename', fileobj)``, 3-tuple ``('filename', fileobj, 'content_type')`` or a 4-tuple ``('filename', fileobj, 'content_type', custom_headers)``, where ``'content-type'`` is a string defining the content type of the given file and ``custom_headers`` a dict-like object containing additional headers to add for the file. :param auth: (optional) Auth tuple to enable Basic/Digest/Custom HTTP Auth. :param timeout: (optional) How many seconds to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) <timeouts>` tuple. :type timeout: float or tuple :param allow_redirects: (optional) Boolean. Enable/disable GET/OPTIONS/POST/PUT/PATCH/DELETE/HEAD redirection. Defaults to ``True``. :type allow_redirects: bool :param proxies: (optional) Dictionary mapping protocol to the URL of the proxy. :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use. Defaults to ``True``. :param stream: (optional) if ``False``, the response content will be immediately downloaded. :param cert: (optional) if String, path to ssl client cert file (.pem). If Tuple, ('cert', 'key') pair. :return: :class:`Response <Response>` object :rtype: requests.Response Usage:: >>> import requests >>> req = requests.request('GET', 'https://httpbin.org/get') >>> req <Response [200]> t methodt urlN( R t Sessiont request( R R t kwargst session( ( sI /opt/alt/python37/lib/python3.7/site-packages/pip/_vendor/requests/api.pyR s ,c K s&