Commit Graph

14 Commits

Author SHA1 Message Date
Senthil Kumaran e29cd162ed Merged revisions 76208 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76208 | senthil.kumaran | 2009-11-11 07:04:44 +0530 (Wed, 11 Nov 2009) | 3 lines

  CGIHTTPRequestHandler.run_cgi() to use subprocess for Non Unix platforms. Fix
  based on Issue1235.
........
2009-11-11 04:17:53 +00:00
Kristján Valur Jónsson 985fc6a304 http://bugs.python.org/issue6267
porting revision 73638 to py3k
2009-07-01 10:01:31 +00:00
Georg Brandl 706824f19f More codestring -> codebytes. 2009-06-04 09:42:55 +00:00
Benjamin Peterson a7deeeeed7 port r72246 2009-05-08 20:54:42 +00:00
Benjamin Peterson ad71f0f016 Merged revisions 71303 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71303 | gregory.p.smith | 2009-04-06 01:33:26 -0500 (Mon, 06 Apr 2009) | 3 lines

  - Issue #2254: Fix CGIHTTPServer information disclosure.  Relative paths are
    now collapsed within the url properly before looking in cgi_directories.
........
2009-04-11 20:12:10 +00:00
Alexandre Vassalotti b5292a2e27 Make http.server main program nicer for interactive use.
Remove unreachable calls to test().

This restores the behavior of SimpleHTTPServer, where a user could
type "python -m SimpleHTTPServer" and get a simple server for sharing
files. Now, you can do the same thing with "python3 -m http.server".
2009-04-03 07:16:55 +00:00
Jeremy Hylton 98eb6c2838 Fix compatibility issue with HTTPMessage class.
The server needs to use MessageClass to parse.
2009-03-27 18:31:36 +00:00
Jeremy Hylton 914ab45d0a Sort import list. 2009-03-27 17:16:06 +00:00
Jeremy Hylton e6fdd04b37 Replace duplicate code in http.server with call to http.client.parse_headers(). 2009-03-27 17:14:18 +00:00
Amaury Forgeot d'Arc cb0d2d7198 Issue3113: tests for CGIHTTPRequestHandler failed on windows:
replace the now-invalid popen2 with a call to subprocess.Popen.
2008-06-18 22:19:22 +00:00
Jeremy Hylton 1afc169616 Make a new urllib package .
It consists of code from urllib, urllib2, urlparse, and robotparser.
The old modules have all been removed.  The new package has five
submodules: urllib.parse, urllib.request, urllib.response,
urllib.error, and urllib.robotparser.  The urllib.request.urlopen()
function uses the url opener from urllib2.

Note that the unittests have not been renamed for the
beta, but they will be renamed in the future.

Joint work with Senthil Kumaran.
2008-06-18 20:49:58 +00:00
Georg Brandl 9f0f960d4c Remove traces of rfc822. 2008-06-12 22:23:59 +00:00
Barry Warsaw 820c120059 Patch for issue 2848, mostly by Humberto Diogenes, with a couple of
small fixes by Barry.  This removes mimetools from the stdlib.
2008-06-12 04:06:45 +00:00
Georg Brandl 2442015af2 Create http package. #2883. 2008-05-26 16:32:26 +00:00