1. 13 May, 1998 2 commits
    • Guido van Rossum's avatar
      Tim's quicksort on May 10. · b7057640
      Guido van Rossum authored
      b7057640
    • Guido van Rossum's avatar
      From: conrad@cgl.ucsf.edu (Conrad Huang %CGL) · 01fc65d9
      Guido van Rossum authored
      To: python-list@cwi.nl
      Date: 13 May 98 18:33:11 GMT
      
      I think I found a bug in CGIHTTPServer.py.  (Does anyone care? :-)
      I was trying to use it as the web server for uploading files.
      Python CGI scripts (using the CGI module) that worked for other
      servers (e.g., Netscape Enterprise server) hang when run from
      CGIHTTPServer.  The problem is that the content type parameters,
      in particular the boundary parameter, were not passed through to
      the CGI scripts, thus making the MIME parsing code choke.
      
      My simple-minded fix is:
      
      	% diff CGIHTTPServer.py /usr/local/lib/python1.5/CGIHTTPServer.py
      	137,140c136
      	<           if self.headers.typeheader is None:
      	<               env['CONTENT_TYPE'] = self.headers.type
      	<           else:
      	<               env['CONTENT_TYPE'] = self.headers.typeheader
      	---
      	>           env['CONTENT_TYPE'] = self.headers.type
      
      Conrad
      01fc65d9
  2. 12 May, 1998 10 commits
  3. 11 May, 1998 21 commits
  4. 10 May, 1998 2 commits
  5. 09 May, 1998 1 commit
  6. 08 May, 1998 4 commits