Commits

Anonymous committed 79082f3

little edit

Comments (0)

Files changed (1)

restclient/transport.py

 
 import codecs
 import httplib
-import logging
+import re
 import StringIO
-
-import re
 import sys
 
 import restclient
 except ImportError:
     pycurl=None
 
-
-
 _default_http = None
 
 class TransportError(Exception):
 def _normalize_headers(headers):
     return dict([ (key.lower(), NORMALIZE_SPACE.sub(value, ' ').strip())  for (key, value) in headers.iteritems()])
 
-
-
 def createHTTPTransport():
     """Create default HTTP client instance
     prefers Curl to urllib"""
         setDefaultHTTPTransport(createHTTPTransport())
 
     return isinstance(_default_http, CurlTransport)
-    
-
-
-    
-
 
 class HTTPError(Exception):
     """ raised when there is an HTTP error """