Hackfut Security File Manager
Current Path:
/usr/lib/python2.6/site-packages/pip/_vendor/requests
usr
/
lib
/
python2.6
/
site-packages
/
pip
/
_vendor
/
requests
/
📁
..
📄
__init__.py
(1.82 KB)
📄
__init__.pyc
(2.5 KB)
📄
__init__.pyo
(2.5 KB)
📄
adapters.py
(16.42 KB)
📄
adapters.pyc
(15.67 KB)
📄
adapters.pyo
(15.67 KB)
📄
api.py
(5.29 KB)
📄
api.pyc
(6.13 KB)
📄
api.pyo
(6.13 KB)
📄
auth.py
(6.63 KB)
📄
auth.pyc
(7.63 KB)
📄
auth.pyo
(7.63 KB)
📄
cacert.pem
(301.21 KB)
📄
certs.py
(613 B)
📄
certs.pyc
(899 B)
📄
certs.pyo
(899 B)
📄
compat.py
(1.43 KB)
📄
compat.pyc
(1.66 KB)
📄
compat.pyo
(1.66 KB)
📄
cookies.py
(16.79 KB)
📄
cookies.pyc
(20.9 KB)
📄
cookies.pyo
(20.9 KB)
📄
exceptions.py
(2.46 KB)
📄
exceptions.pyc
(5.39 KB)
📄
exceptions.pyo
(5.39 KB)
📄
hooks.py
(820 B)
📄
hooks.pyc
(1.08 KB)
📄
hooks.pyo
(1.08 KB)
📄
models.py
(28.49 KB)
📄
models.pyc
(25.65 KB)
📄
models.pyo
(25.65 KB)
📁
packages
📄
sessions.py
(23.68 KB)
📄
sessions.pyc
(19.84 KB)
📄
sessions.pyo
(19.84 KB)
📄
status_codes.py
(3.13 KB)
📄
status_codes.pyc
(4.38 KB)
📄
status_codes.pyo
(4.38 KB)
📄
structures.py
(2.91 KB)
📄
structures.pyc
(5.25 KB)
📄
structures.pyo
(5.25 KB)
📄
utils.py
(20.83 KB)
📄
utils.pyc
(20.59 KB)
📄
utils.pyo
(20.59 KB)
Editing: compat.py
# -*- coding: utf-8 -*- """ pythoncompat """ from .packages import chardet import sys # ------- # Pythons # ------- # Syntax sugar. _ver = sys.version_info #: Python 2.x? is_py2 = (_ver[0] == 2) #: Python 3.x? is_py3 = (_ver[0] == 3) try: import simplejson as json except (ImportError, SyntaxError): # simplejson does not support Python 3.2, it throws a SyntaxError # because of u'...' Unicode literals. import json # --------- # Specifics # --------- if is_py2: from urllib import quote, unquote, quote_plus, unquote_plus, urlencode, getproxies, proxy_bypass from urlparse import urlparse, urlunparse, urljoin, urlsplit, urldefrag from urllib2 import parse_http_list import cookielib from Cookie import Morsel from StringIO import StringIO from .packages.urllib3.packages.ordered_dict import OrderedDict builtin_str = str bytes = str str = unicode basestring = basestring numeric_types = (int, long, float) elif is_py3: from urllib.parse import urlparse, urlunparse, urljoin, urlsplit, urlencode, quote, unquote, quote_plus, unquote_plus, urldefrag from urllib.request import parse_http_list, getproxies, proxy_bypass from http import cookiejar as cookielib from http.cookies import Morsel from io import StringIO from collections import OrderedDict builtin_str = str str = str bytes = bytes basestring = (str, bytes) numeric_types = (int, float)
Upload File
Create Folder