Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #20331: Fixed possible FD leaks in various modules: | Serhiy Storchaka | 2014-01-25 | 1 | -9/+15 |
|\ | | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree. | ||||
| * | Issue #20331: Fixed possible FD leaks in various modules: | Serhiy Storchaka | 2014-01-25 | 1 | -9/+15 |
| | | | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree. | ||||
* | | merge 3.3 (#18574) | Benjamin Peterson | 2014-01-19 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix handling of 100-continue status code (closes #18574) | Benjamin Peterson | 2014-01-19 | 1 | -1/+1 |
| | | |||||
* | | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 1 | -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 lines in the unittestgui and checkpip scripts. | ||||
| * | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 1 | -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. | ||||
* | | merge 3.3 (#20018) | Benjamin Peterson | 2013-12-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | update url to spec (closes #20018) | Benjamin Peterson | 2013-12-18 | 1 | -1/+1 |
| | | |||||
* | | Issue #20007: HTTPResponse.read(0) no more prematurely closes connection. | Serhiy Storchaka | 2013-12-17 | 1 | -1/+1 |
|\ \ | |/ | | | | | Original patch by Simon Sapin. | ||||
| * | Issue #20007: HTTPResponse.read(0) no more prematurely closes connection. | Serhiy Storchaka | 2013-12-17 | 1 | -1/+1 |
| | | | | | | | | Original patch by Simon Sapin. | ||||
* | | Issue 19509: Don't call match_hostname() twice in http.client. | Christian Heimes | 2013-12-05 | 1 | -6/+6 |
| | | |||||
* | | Issue #19735: Implement private function ssl._create_stdlib_context() to | Christian Heimes | 2013-11-23 | 1 | -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 Peterson | 2013-10-30 | 1 | -5/+4 |
|\ \ | |/ | |||||
| * | merge 3.2 (#19435) | Benjamin Peterson | 2013-10-30 | 1 | -5/+4 |
| |\ | |||||
| | * | merge 3.1 (#19435) | Benjamin Peterson | 2013-10-30 | 1 | -5/+4 |
| | |\ | |||||
| | | * | use the collapsed path in the run_cgi method (closes #19435) | Benjamin Peterson | 2013-10-30 | 1 | -5/+4 |
| | | | | |||||
* | | | | merge with 3.3 | Georg Brandl | 2013-10-27 | 1 | -0/+4 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more than | Georg Brandl | 2013-10-27 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | 100 headers are read. Adapted from patch by Jyrki Pulliainen. | ||||
* | | | | merge from 3.3 | Senthil Kumaran | 2013-09-30 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | Minor code improvement. Review comment by Eric V. Smith | Senthil Kumaran | 2013-09-30 | 1 | -1/+1 |
| | | | | |||||
* | | | | Expose --bind argument for http.server, enable http.server to bind to a user | Senthil Kumaran | 2013-09-15 | 1 | -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 Kumaran | 2013-09-13 | 1 | -0/+4 |
|\ \ \ \ | |/ / / | | | | | | | | | Patch contributed by Vajrasky Kok. Addresses Issue #17324 | ||||
| * | | | Fix http.server's request handling case on trailing '/'. | Senthil Kumaran | 2013-09-13 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | Patch contributed by Vajrasky Kok. Addresses Issue #17324 | ||||
* | | | | Merge #16611: BaseCookie now parses 'secure' and 'httponly' flags. | R David Murray | 2013-08-25 | 1 | -10/+19 |
|\ \ \ \ | |/ / / | |||||
| * | | | #16611: BaseCookie now parses 'secure' and 'httponly' flags. | R David Murray | 2013-08-25 | 1 | -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 Cannon | 2013-07-04 | 3 | -3/+3 |
| | | | | |||||
* | | | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 3 | -3/+3 |
| | | | | | | | | | | | | | | | | ModuleNotFoundError. | ||||
* | | | | Issue #16658: add missing return to HTTPConnection.send(). | Andrew Svetlov | 2013-04-12 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | | | | | | | | | Patch by Jeff Knupp | ||||
| * | | | Issue #16658: add missing return to HTTPConnection.send(). | Andrew Svetlov | 2013-04-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Patch by Jeff Knupp | ||||
* | | | | #17678: Remove the use of a deprecated method http/cookiejar.py. Changing the | Senthil Kumaran | 2013-04-09 | 1 | -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 usage | Senthil Kumaran | 2013-04-09 | 1 | -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 the | Senthil Kumaran | 2013-03-18 | 1 | -16/+7 |
| | | | | | | | | | | | | | | | | DeprecationWarning being issued from 3.2 onwards. | ||||
* | | | | #1291 http.server's send_error takes an optional explain argument | Senthil Kumaran | 2013-03-15 | 1 | -6/+12 |
| | | | | |||||
* | | | | Reverting the changeset b87792757ee8 made for Issue #12921 | Senthil Kumaran | 2013-03-05 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | Reverting the changeset 5d76a4746d9d made for Issue #12921 | Senthil Kumaran | 2013-03-05 | 1 | -1/+1 |
| |\ \ \ | | |/ / | |||||
| | * | | Reverting the changeset 5126e62c60af made for Issue #12921 | Senthil Kumaran | 2013-03-05 | 1 | -1/+1 |
| | | | | |||||
* | | | | Fix Issue #12921: BaseHTTPServer's send_error should send the correct error | Senthil Kumaran | 2013-03-05 | 1 | -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 error | Senthil Kumaran | 2013-03-05 | 1 | -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 error | Senthil Kumaran | 2013-03-05 | 1 | -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-12 | 1 | -12/+3 |
| | | | | |||||
* | | | | Issue #16723: httplib.HTTPResponse no longer marked closed when the connection | Serhiy Storchaka | 2013-02-06 | 1 | -17/+21 |
|\ \ \ \ | |/ / / | | | | | | | | | is automatically closed. | ||||
| * | | | Issue #16723: httplib.HTTPResponse no longer marked closed when the connection | Serhiy Storchaka | 2013-02-06 | 1 | -17/+21 |
| |\ \ \ | | |/ / | | | | | | | | | is automatically closed. | ||||
| | * | | Issue #16723: httplib.HTTPResponse no longer marked closed when the connection | Serhiy Storchaka | 2013-02-06 | 1 | -15/+19 |
| | | | | | | | | | | | | | | | | is automatically closed. | ||||
| | * | | Simplify code in HTTPResponse.read() | Antoine Pitrou | 2013-02-02 | 1 | -4/+1 |
| | | | | |||||
* | | | | Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵ | Antoine Pitrou | 2013-02-02 | 1 | -5/+10 |
|\ \ \ \ | |/ / / | | | | | | | | | less than the advertised Content-Length. | ||||
| * | | | Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵ | Antoine Pitrou | 2013-02-02 | 1 | -5/+10 |
| |\ \ \ | | |/ / | | | | | | | | | less than the advertised Content-Length. | ||||
| | * | | Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵ | Antoine Pitrou | 2013-02-02 | 1 | -1/+9 |
| | | | | | | | | | | | | | | | | less than the advertised Content-Length. | ||||
* | | | | Issue #16833: In http.client.HTTPConnection, do not concatenate the request ↵ | Antoine Pitrou | 2013-01-02 | 1 | -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 Svetlov | 2012-12-25 | 2 | -8/+7 |
| | | | | |||||
* | | | | Issue #16717: get rid of socket.error, replace with OSError | Andrew Svetlov | 2012-12-18 | 1 | -2/+2 |
| | | | |