$59 GRAYBYTE WORDPRESS FILE MANAGER $48

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

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

HOME
Current File : /opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/requests/packages/urllib3//__init__.py
# urllib3/__init__.py
# Copyright 2008-2013 Andrey Petrov and contributors (see CONTRIBUTORS.txt)
#
# This module is part of urllib3 and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php

"""
urllib3 - Thread-safe connection pooling and re-using.
"""

__author__ = 'Andrey Petrov ([email protected])'
__license__ = 'MIT'
__version__ = 'dev'


from .connectionpool import (
    HTTPConnectionPool,
    HTTPSConnectionPool,
    connection_from_url
)

from . import exceptions
from .filepost import encode_multipart_formdata
from .poolmanager import PoolManager, ProxyManager, proxy_from_url
from .response import HTTPResponse
from .util import make_headers, get_host, Timeout


# 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())

def add_stderr_logger(level=logging.DEBUG):
    """
    Helper for quickly adding a StreamHandler to the logger. Useful for
    debugging.

    Returns the handler after adding it.
    """
    # This method needs to be in this __init__.py to get the __name__ correct
    # even if urllib3 is vendored within another package.
    logger = logging.getLogger(__name__)
    handler = logging.StreamHandler()
    handler.setFormatter(logging.Formatter('%(asctime)s %(levelname)s %(message)s'))
    logger.addHandler(handler)
    logger.setLevel(level)
    logger.debug('Added an stderr logging handler to logger: %s' % __name__)
    return handler

# ... Clean up.
del 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
contrib
--
3 Mar 2024 10.37 PM
root / linksafe
0755
packages
--
3 Mar 2024 10.37 PM
root / linksafe
0755
util
--
3 Mar 2024 10.37 PM
root / linksafe
0755
__init__.py
1.661 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
_collections.py
6.403 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
connection.py
6.38 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
connectionpool.py
26.273 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
exceptions.py
3.285 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
fields.py
5.836 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
filepost.py
2.453 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
poolmanager.py
8.767 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
request.py
5.672 KB
13 Nov 2023 9.16 PM
root / linksafe
0644
response.py
10.104 KB
13 Nov 2023 9.16 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF