response.py 342 B

123456789101112
  1. from future import standard_library
  2. from future.utils import PY3
  3. if PY3:
  4. from urllib.response import *
  5. else:
  6. __future_module__ = True
  7. with standard_library.suspend_hooks():
  8. from urllib import (addbase,
  9. addclosehook,
  10. addinfo,
  11. addinfourl)