*** HTTPRequest.py      Thu Sep 13 10:57:52 2001
--- HTTPRequest.py.new  Thu Sep 13 10:53:43 2001
*************** import os, cgi
*** 5,10 ****
--- 5,11 ----
  from types import ListType
  from WebUtils.Funcs import requestURI
  from WebUtils import FieldStorage
+ import traceback

  debug=0

*************** class HTTPRequest(Request):
*** 41,47 ****
                        self._fields.parse_qs()
                        self._cookies = Cookie()
                        if self._environ.has_key('HTTP_COOKIE'):
!                               self._cookies.load(self._environ['HTTP_COOKIE'])
                else:
                        # If there's no dictionary, we pretend we're a CGI script and see what happens...
                        import time
--- 42,51 ----
                        self._fields.parse_qs()
                        self._cookies = Cookie()
                        if self._environ.has_key('HTTP_COOKIE'):
!                               try:
!                                       self._cookies.load(self._environ['HTTP_COOKIE'])
!                               except:
!                                       traceback.print_exc(file=sys.stderr)
                else:
                        # If there's no dictionary, we pretend we're a CGI script and see what happens...
                        import time


