<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/CGIHTTPServer.py, branch v2.1a2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/CGIHTTPServer.py?h=v2.1a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/CGIHTTPServer.py?h=v2.1a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-01-20T19:54:20Z</updated>
<entry>
<title>added __all__ lists to a number of Python modules</title>
<updated>2001-01-20T19:54:20Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2001-01-20T19:54:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e99d5ea25ba994491c773d9b5872332334ccd1c5'/>
<id>urn:sha1:e99d5ea25ba994491c773d9b5872332334ccd1c5</id>
<content type='text'>
added test script and expected output file as well
this closes patch 103297.
__all__ attributes will be added to other modules without first submitting
a patch, just adding the necessary line to the test script to verify
more-or-less correct implementation.
</content>
</entry>
<entry>
<title>An honest attempt to make this work on Unix, Windows, and even</title>
<updated>2000-09-19T04:01:01Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-09-19T04:01:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e7d6b0a22e07adfa33cfa8658acf4c0b3cbecb39'/>
<id>urn:sha1:e7d6b0a22e07adfa33cfa8658acf4c0b3cbecb39</id>
<content type='text'>
Macintosh (the latter untested).

This closes Bug #110839.
</content>
</entry>
<entry>
<title>Now that StreamRequestHandler defaults rfile to buffered, make it</title>
<updated>2000-09-01T03:27:34Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-09-01T03:27:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6aefd91c7f4f446dc6ea95ea00c62fc847ce886a'/>
<id>urn:sha1:6aefd91c7f4f446dc6ea95ea00c62fc847ce886a</id>
<content type='text'>
unbuffered (by setting the class variable rbufsize to 0), because we
(may) need to pass the file descriptor to the subprocess running the
CGI script positioned after the headers.
</content>
</entry>
<entry>
<title>os.fork raises AttributeError, not NameError, if fork() isn't</title>
<updated>1999-10-18T13:43:44Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>1999-10-18T13:43:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14bb71d5535747be9b3a10ff1cf7be9e15001d90'/>
<id>urn:sha1:14bb71d5535747be9b3a10ff1cf7be9e15001d90</id>
<content type='text'>
supported.  Pointed out by Moshe Zadka &lt;moshez@math.huji.ac.il&gt;.
</content>
</entry>
<entry>
<title>Based on comments from Paul Prescod:</title>
<updated>1999-10-16T02:07:50Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>1999-10-16T02:07:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=40e84db0f4ca06cfd40f6eebe2f9907797c8a67b'/>
<id>urn:sha1:40e84db0f4ca06cfd40f6eebe2f9907797c8a67b</id>
<content type='text'>
If os.fork() doesn't exist, raise SystemError with an explanation at
the top of the module.  Added a note to the module docstring.
</content>
</entry>
<entry>
<title>No need to import sys, time, or socket.  (Andrew Dalke &amp; kjpylint)</title>
<updated>1999-05-03T18:00:48Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-05-03T18:00:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3a64e058ebaaeb82db30f3ce9357dd821668ddfc'/>
<id>urn:sha1:3a64e058ebaaeb82db30f3ce9357dd821668ddfc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Two changes suggested by Jan Pieter Riegel:</title>
<updated>1999-04-28T12:21:47Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-04-28T12:21:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=630b811676c24bd3c15df9484c3e73c500fbf746'/>
<id>urn:sha1:630b811676c24bd3c15df9484c3e73c500fbf746</id>
<content type='text'>
(1) Fix reference to pwd.error to be KeyError -- there is no pwd.error
and pwd.getpwnam() raises KeyError on failure.

(2) Add cookie support, by placing the 'Cookie:' header, if present,
in the HTTP_COOKIE environment variable.
</content>
</entry>
<entry>
<title>Patch by Jeff Rush:</title>
<updated>1998-12-07T04:08:03Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-12-07T04:08:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9228cbd0844f9f0a641832b214a47006c77333bb'/>
<id>urn:sha1:9228cbd0844f9f0a641832b214a47006c77333bb</id>
<content type='text'>
In CGIHTTPServer.py, the list of acceptable formats is -split-
on spaces but -joined- on commas, resulting in double commas
in the joined text.  It appears harmless to my browser but
ought to be fixed anyway.

    'A, B, C' -&gt; 'A,', 'B,', 'C,' -&gt; 'A,,B,,C'
</content>
</entry>
<entry>
<title>From: conrad@cgl.ucsf.edu (Conrad Huang %CGL)</title>
<updated>1998-05-13T20:13:24Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-05-13T20:13:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=01fc65d92fcf774c4b14fb0e744ad4d08c825168'/>
<id>urn:sha1:01fc65d92fcf774c4b14fb0e744ad4d08c825168</id>
<content type='text'>
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
	&lt;           if self.headers.typeheader is None:
	&lt;               env['CONTENT_TYPE'] = self.headers.type
	&lt;           else:
	&lt;               env['CONTENT_TYPE'] = self.headers.typeheader
	---
	&gt;           env['CONTENT_TYPE'] = self.headers.type

Conrad
</content>
</entry>
<entry>
<title>Mass check-in after untabifying all files that need it.</title>
<updated>1998-03-26T21:13:24Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-03-26T21:13:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=45e2fbc2e70ef28b1f0327207f33dab3a4e825c5'/>
<id>urn:sha1:45e2fbc2e70ef28b1f0327207f33dab3a4e825c5</id>
<content type='text'>
</content>
</entry>
</feed>
