$90 GRAYBYTE WORDPRESS FILE MANAGER $98

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/requests/

HOME
Current File : /opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/requests//__init__.py
# -*- coding: utf-8 -*-

#   __
#  /__)  _  _     _   _ _/   _
# / (   (- (/ (/ (- _)  /  _)
#          /

"""
requests HTTP library
~~~~~~~~~~~~~~~~~~~~~

Requests is an HTTP library, written in Python, for human beings. Basic GET
usage:

   >>> import requests
   >>> r = requests.get('http://python.org')
   >>> r.status_code
   200
   >>> 'Python is a programming language' in r.content
   True

... or POST:

   >>> payload = dict(key1='value1', key2='value2')
   >>> r = requests.post("http://httpbin.org/post", data=payload)
   >>> print(r.text)
   {
     ...
     "form": {
       "key2": "value2",
       "key1": "value1"
     },
     ...
   }

The other HTTP methods are supported - see `requests.api`. Full documentation
is at <http://python-requests.org>.

:copyright: (c) 2014 by Kenneth Reitz.
:license: Apache 2.0, see LICENSE for more details.

"""

__title__ = 'requests'
__version__ = '2.3.0'
__build__ = 0x020300
__author__ = 'Kenneth Reitz'
__license__ = 'Apache 2.0'
__copyright__ = 'Copyright 2014 Kenneth Reitz'

# Attempt to enable urllib3's SNI support, if possible
try:
    from .packages.urllib3.contrib import pyopenssl
    pyopenssl.inject_into_urllib3()
except ImportError:
    pass

from . import utils
from .models import Request, Response, PreparedRequest
from .api import request, get, head, post, patch, put, delete, options
from .sessions import session, Session
from .status_codes import codes
from .exceptions import (
    RequestException, Timeout, URLRequired,
    TooManyRedirects, HTTPError, ConnectionError
)

# Set default logging handler to avoid "No handler found" warnings.
import logging
try:  # Python 2.7+
    from logging import NullHandler
except ImportError:
    class NullHandler(logging.Handler):
        def emit(self, record):
            pass

logging.getLogger(__name__).addHandler(NullHandler())


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.37 PM
root / linksafe
0755
__pycache__
--
3 Mar 2024 10.37 PM
root / linksafe
0755
packages
--
3 Mar 2024 10.37 PM
root / linksafe
0755
__init__.py
1.813 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
adapters.py
14.266 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
api.py
4.242 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
auth.py
5.979 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
cacert.pem
301.205 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
certs.py
0.531 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
compat.py
2.496 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
cookies.py
16.295 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
exceptions.py
1.833 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
hooks.py
0.801 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
models.py
25.816 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
sessions.py
21.768 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
status_codes.py
3.063 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
structures.py
3.458 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
utils.py
19.505 KB
13 Nov 2023 9.16 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF