summaryrefslogtreecommitdiffstats
path: root/Lib/http
Commit message (Collapse)AuthorAgeFilesLines
* fix handling of 100-continue status code (closes #18574)Benjamin Peterson2014-01-191-1/+1
|
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-3/+0
| | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* update url to spec (closes #20018)Benjamin Peterson2013-12-181-1/+1
|
* Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.Serhiy Storchaka2013-12-171-1/+1
| | | | Original patch by Simon Sapin.
* merge 3.2 (#19435)Benjamin Peterson2013-10-301-5/+4
|\
| * merge 3.1 (#19435)Benjamin Peterson2013-10-301-5/+4
| |\
| | * use the collapsed path in the run_cgi method (closes #19435)Benjamin Peterson2013-10-301-5/+4
| | |
* | | Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more thanGeorg Brandl2013-10-271-0/+4
| | | | | | | | | | | | 100 headers are read. Adapted from patch by Jyrki Pulliainen.
* | | Minor code improvement. Review comment by Eric V. SmithSenthil Kumaran2013-09-301-1/+1
| | |
* | | Fix http.server's request handling case on trailing '/'.Senthil Kumaran2013-09-131-0/+4
| | | | | | | | | | | | Patch contributed by Vajrasky Kok. Addresses Issue #17324
* | | #16611: BaseCookie now parses 'secure' and 'httponly' flags.R David Murray2013-08-251-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously it generated them if they were given a value, but completely ignored them if they were present in the string passed in to be parsed. Now if the flag appears on a cookie, the corresponding Morsel key will reference a True value. Other pre-existing behavior is retained in this maintenance patch: if the source contains something like 'secure=foo', morsel['secure'] will return 'foo'. Since such a value doesn't round trip and never did (and would be a surprising occurrence) a subsequent non-bug-fix patch may change this behavior. Inspired by a patch from Julien Phalip, who reviewed this one.
* | | Issue #16658: add missing return to HTTPConnection.send().Andrew Svetlov2013-04-121-1/+1
| | | | | | | | | | | | Patch by Jeff Knupp
* | | #17678: Fix DeprecationWarning in the http/cookiejar.py by changing the usageSenthil Kumaran2013-04-091-1/+1
| | | | | | | | | | | | | | | | | | of get_origin_req_host() to origin_req_host. Patch by Wei-Cheng Pan
* | | Reverting the changeset 5d76a4746d9d made for Issue #12921Senthil Kumaran2013-03-051-1/+1
|\ \ \ | |/ /
| * | Reverting the changeset 5126e62c60af made for Issue #12921Senthil Kumaran2013-03-051-1/+1
| | |
* | | Fix Issue #12921: BaseHTTPServer's send_error should send the correct errorSenthil Kumaran2013-03-051-1/+1
|\ \ \ | |/ / | | | | | | | | | response message when send_error includes a message in addition to error status. Patch contributed by Karl.
| * | Fix Issue #12921: BaseHTTPServer's send_error should send the correct errorSenthil Kumaran2013-03-051-1/+1
| | | | | | | | | | | | | | | response message when send_error includes a message in addition to error status. Patch contributed by Karl.
* | | Issue #16723: httplib.HTTPResponse no longer marked closed when the connectionSerhiy Storchaka2013-02-061-17/+21
|\ \ \ | |/ / | | | | | | is automatically closed.
| * | Issue #16723: httplib.HTTPResponse no longer marked closed when the connectionSerhiy Storchaka2013-02-061-15/+19
| | | | | | | | | | | | is automatically closed.
| * | Simplify code in HTTPResponse.read()Antoine Pitrou2013-02-021-4/+1
| | |
* | | Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵Antoine Pitrou2013-02-021-5/+10
|\ \ \ | |/ / | | | | | | less than the advertised Content-Length.
| * | Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵Antoine Pitrou2013-02-021-1/+9
| | | | | | | | | | | | less than the advertised Content-Length.
* | | Issue #16298: In HTTPResponse.read(), close the socket when there is no ↵Antoine Pitrou2012-12-151-0/+3
|\ \ \ | |/ / | | | | | | | | | | | | Content-Length and the incoming stream is finished. Patch by Eran Rundstein.
| * | Issue #16298: In HTTPResponse.read(), close the socket when there is no ↵Antoine Pitrou2012-12-151-0/+4
| | | | | | | | | | | | | | | | | | Content-Length and the incoming stream is finished. Patch by Eran Rundstein.
* | | #15980: merge with 3.2.Ezio Melotti2012-09-211-2/+2
|\ \ \ | |/ /
| * | #15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka.Ezio Melotti2012-09-211-2/+2
| | |
* | | Issue #15409: Replace use of deprecated urllib.request.Request methods in ↵Meador Inge2012-07-211-4/+4
| | | | | | | | | | | | | | | | | | http.cookijar Patch by Flávio Ribeiro.
* | | Issue 14989: http.server --cgi option can enable the CGI http server.Senthil Kumaran2012-06-031-7/+15
| | |
* | | merge - Fix for issue14426 - buildbots here I comeSenthil Kumaran2012-05-201-1/+1
|\ \ \ | |/ /
| * | Fix for issue14426 - buildbots here I comeSenthil Kumaran2012-05-201-1/+1
| | |
* | | Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. ↵Senthil Kumaran2012-05-201-1/+1
|\ \ \ | |/ / | | | | | | Patch by Federico Reghenzani and Müte Invert
| * | Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. ↵Senthil Kumaran2012-05-201-1/+1
| | | | | | | | | | | | Patch by Federico Reghenzani and Müte Invert
* | | merge - Fix Issue14721: Send Content-length: 0 for empty body () in the ↵Senthil Kumaran2012-05-191-1/+1
|\ \ \ | |/ / | | | | | | http.client requests
| * | Fix Issue14721: Send Content-length: 0 for empty body () in the http.client ↵Senthil Kumaran2012-05-191-1/+1
| | | | | | | | | | | | requests
* | | #14809: Add HTTP status codes from RFC 6585 to http.server and http.clientHynek Schlawack2012-05-162-1/+17
| | | | | | | | | | | | Patch by EungJun Yi.
* | | issue6085 - update docs in default branchSenthil Kumaran2012-04-291-1/+1
|\ \ \ | |/ /
| * | Fix issue6085 - Remove the delay caused by fqdn lookup while logging in ↵Senthil Kumaran2012-04-291-2/+2
| | | | | | | | | | | | BaseHTTPRequestHandler
* | | Fix Issue6085 - SimpleHTTPServer address_string to return client ip instead ↵Senthil Kumaran2012-04-291-11/+2
| | | | | | | | | | | | of client hostname
* | | httplib - minor update to check empty responseSenthil Kumaran2012-04-291-2/+2
|\ \ \ | |/ /
| * | httplib - minor update to check empty responseSenthil Kumaran2012-04-291-2/+2
| | |
* | | 3.2 - Fix for Issue13684 - httplib tunnel infinite loopSenthil Kumaran2012-04-231-0/+3
|\ \ \ | |/ /
| * | 3.2 - Fix for Issue13684 - httplib tunnel infinite loopSenthil Kumaran2012-04-231-0/+3
| | |
* | | Fix Issue2193 - Allow ":" character in Cookie NAME valuesSenthil Kumaran2012-04-221-1/+1
| | |
* | | merge to default - Issue 10484 - Incorporate improvements to CGI module - ↵Senthil Kumaran2012-04-111-26/+28
|\ \ \ | |/ / | | | | | | Suggested by Glenn Linderman. Refactor code and tests
| * | 3.2 - Issue 10484 - Incorporate improvements to CGI module - Suggested by ↵Senthil Kumaran2012-04-111-26/+28
| | | | | | | | | | | | Glenn Linderman. Refactor code and tests
* | | merge - fix the incorrect changes made for PATH_INFO value - Issue10484Senthil Kumaran2012-04-101-10/+6
|\ \ \ | |/ /
| * | 3.2- fix the incorrect changes made for PATH_INFO value - Issue10484Senthil Kumaran2012-04-101-10/+6
| | |
* | | closes issue10484 - Fix the http.server's cgi PATH_INFO handling problemSenthil Kumaran2012-03-161-1/+8
|\ \ \ | |/ /
| * | closes issue10484 - Fix the http.server's cgi PATH_INFO handling problemSenthil Kumaran2012-03-161-1/+8
| | |
* | | Issue #13713: fix a regression in HTTP chunked reading after 806cfe39f729Antoine Pitrou2012-01-041-2/+2
| | | | | | | | | | | | (originally issue #13464: Add a readinto() method to http.client.HTTPResponse)