from __future__ import absolute_import
from future.standard_library import suspend_hooks
from future.utils import PY3
if PY3:
from urllib.error import *
else:
__future_module__ = True
# We use this method to get at the original Py2 urllib before any renaming magic
# ContentTooShortError = sys.py2_modules['urllib'].ContentTooShortError
with suspend_hooks():
from urllib import ContentTooShortError
from urllib2 import URLError, HTTPError
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| __init__.py | File | 110 B | 0644 |
|
| error.py | File | 479 B | 0644 |
|
| parse.py | File | 1.02 KB | 0644 |
|
| request.py | File | 3.43 KB | 0644 |
|
| response.py | File | 342 B | 0644 |
|
| robotparser.py | File | 179 B | 0644 |
|