summaryrefslogtreecommitdiffstats
path: root/Lib/http
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.Serhiy Storchaka2013-12-171-1/+1
|\ | | | | | | Original patch by Simon Sapin.
| * Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.Serhiy Storchaka2013-12-171-1/+1
| | | | | | | | Original patch by Simon Sapin.
* | Issue 19509: Don't call match_hostname() twice in http.client.Christian Heimes2013-12-051-6/+6
| |
* | Issue #19735: Implement private function ssl._create_stdlib_context() toChristian Heimes2013-11-231-3/+1
| | | | | | | | | | create SSLContext objects in Python's stdlib module. It provides a single configuration point and makes use of SSLContext.load_default_certs().
* | merge 3.3 (#19435)Benjamin Peterson2013-10-301-5/+4
|\ \ | |/
| * 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
| | | |
* | | | merge with 3.3Georg Brandl2013-10-271-0/+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.
* | | | merge from 3.3Senthil Kumaran2013-09-301-1/+1
|\ \ \ \ | |/ / /
| * | | Minor code improvement. Review comment by Eric V. SmithSenthil Kumaran2013-09-301-1/+1
| | | |
* | | | Expose --bind argument for http.server, enable http.server to bind to a userSenthil Kumaran2013-09-151-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specified network interface. Patch contributed by Malte Swart. Addresses issue #17764. HG :Enter commit message. Lines beginning with 'HG:' are removed.
* | | | Fix http.server's request handling case on trailing '/'.Senthil Kumaran2013-09-131-0/+4
|\ \ \ \ | |/ / / | | | | | | | | Patch contributed by Vajrasky Kok. Addresses Issue #17324
| * | | Fix http.server's request handling case on trailing '/'.Senthil Kumaran2013-09-131-0/+4
| | | | | | | | | | | | | | | | Patch contributed by Vajrasky Kok. Addresses Issue #17324
* | | | Merge #16611: BaseCookie now parses 'secure' and 'httponly' flags.R David Murray2013-08-251-10/+19
|\ \ \ \ | |/ / /
| * | | #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 #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-043-3/+3
| | | |
* | | | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-143-3/+3
| | | | | | | | | | | | | | | | ModuleNotFoundError.
* | | | Issue #16658: add missing return to HTTPConnection.send().Andrew Svetlov2013-04-121-1/+1
|\ \ \ \ | |/ / / | | | | | | | | Patch by Jeff Knupp
| * | | Issue #16658: add missing return to HTTPConnection.send().Andrew Svetlov2013-04-121-1/+1
| | | | | | | | | | | | | | | | Patch by Jeff Knupp
* | | | #17678: Remove the use of a deprecated method http/cookiejar.py. Changing theSenthil Kumaran2013-04-091-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | usage of get_origin_req_host() to origin_req_host. Patch by Wei-Cheng Pan
| * | | #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
* | | | #17460: Remove the strict argument of HTTPConnection and removing theSenthil Kumaran2013-03-181-16/+7
| | | | | | | | | | | | | | | | DeprecationWarning being issued from 3.2 onwards.
* | | | #1291 http.server's send_error takes an optional explain argumentSenthil Kumaran2013-03-151-6/+12
| | | |
* | | | Reverting the changeset b87792757ee8 made for Issue #12921Senthil Kumaran2013-03-051-1/+1
|\ \ \ \ | |/ / /
| * | | 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.
| | * | 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.
* | | | modernize some modules' code by using with statement around open()Giampaolo Rodola'2013-02-121-12/+3
| | | |
* | | | 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-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-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 #16833: In http.client.HTTPConnection, do not concatenate the request ↵Antoine Pitrou2013-01-021-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | headers and body when the payload exceeds 16 KB, since it can consume more memory for no benefit. Patch by Benno Leslie.
* | | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-252-8/+7
| | | |
* | | | Issue #16717: get rid of socket.error, replace with OSErrorAndrew Svetlov2012-12-181-2/+2
| | | |
* | | | Issue #16706: get rid of os.errorAndrew Svetlov2012-12-181-2/+2
| | | |
* | | | 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/+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.
* | | | Issue #16088: BaseHTTPRequestHandler's send_error method includes aSenthil Kumaran2012-10-111-1/+3
| | | | | | | | | | | | | | | | Content-Length header. Patch by Antoine Pitrou.
* | | | more yield fromPhilip Jenvey2012-10-011-2/+1
|/ / / | | | | | | | | | patch by Serhiy Storchaka
* | | #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
| | |