SVN: r25342 - trunk/quixote

Neil Schemenauer <nascheme-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Thu, 14 Oct 2004 13:23:23 -0400
Newsgroups gmane.comp.web.quixote.cvs
Message-ID <[email protected]>
Author: nascheme
Date: 2004-10-14 13:23:16 -0400 (Thu, 14 Oct 2004)
New Revision: 25342

Modified:
   trunk/quixote/http_request.py
Log:
merge missing http_request changes


Modified: trunk/quixote/http_request.py
===================================================================
--- trunk/quixote/http_request.py	2004-10-14 17:22:05 UTC (rev 25341)
+++ trunk/quixote/http_request.py	2004-10-14 17:23:16 UTC (rev 25342)
@@ -25,10 +25,12 @@
 __revision__ = "$Id$"
 
 import re
-import time
-import urlparse, urllib
-from cgi import FieldStorage
-from types import ListType
+import string
+import tempfile
+import urlparse
+import urllib
+import rfc822
+from cStringIO import StringIO
 
 from quixote.http_response import HTTPResponse
 from quixote.errors import RequestError
@@ -179,17 +181,6 @@
                 path = path[len(script):]
                 self.environ['PATH_INFO'] = path
 
-    def add_form_value(self, key, value):
-        if self.form.has_key(key):
-            found = self.form[key]
-            if type(found) is ListType:
-                found.append(value)
-            else:
-                found = [found, value]
-                self.form[key] = found
-        else:
-            self.form[key] = value
-
     def process_inputs(self):
         query = self.environ.get('QUERY_STRING')
         if query: