 ===================================================================
 --- twisted/web2/http.py	(revision 19773)
 +++ twisted/web2/http.py	(working copy)
-@@ -26,7 +26,7 @@
+@@ -15,6 +15,7 @@
+ import socket
+ import time
+ import cgi
++import urllib
+ 
+ # twisted imports
+ from twisted.internet import interfaces, error
+@@ -26,7 +27,7 @@
  from twisted.web2 import http_headers
  from twisted.web2 import iweb
  from twisted.web2 import stream

 
     def __repr__(self):
         return "<%s %s>" % (self.__class__.__name__, self.response)
@@ -408,9 +408,22 @@
     def _sendContinue(self):
         self.chanRequest.writeIntermediateResponse(responsecode.CONTINUE)
 

 
 defaultPortForScheme = {'http': 80, 'https':443, 'ftp':21}
 
@@ -66,9 +67,9 @@
             object.
         @type codeOrResponse: C{int} or L{http.Response}
         """
