1. cherrypy
  2. cheroot

Commits

Gustavo Picon  committed 516feb9

Removed BadStatusLine from compat

  • Participants
  • Parent commits cb8c391
  • Branches default

Comments (0)

Files changed (1)

File cheroot/compat.py

View file
  • Ignore whitespace
 
 try:
     # Python 2.
-    from httplib import BadStatusLine, HTTPConnection, IncompleteRead
-    from httplib import NotConnected
+    from httplib import BadStatusLine, HTTPConnection, NotConnected
     from BaseHTTPServer import BaseHTTPRequestHandler
 except ImportError:
     # Python 3
-    from http.client import BadStatusLine, HTTPConnection, IncompleteRead
-    from http.client import NotConnected
+    from http.client import BadStatusLine, HTTPConnection, NotConnected
     from http.server import BaseHTTPRequestHandler
 
 try: