Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #26499: Merge HTTPResponse fix from 3.5 | Martin Panter | 2016-03-17 | 1 | -0/+8 |
|\ | |||||
| * | Issue #26499: Fixes to HTTPResponse.readline() and read1(), by Silent Ghost | Martin Panter | 2016-03-17 | 1 | -0/+8 |
| | | |||||
* | | Issue #747320: Use email.utils.formatdate() to avoid code duplication | Berker Peksag | 2016-03-14 | 1 | -6/+2 |
| | | | | | | | | | | | | in BaseHTTPRequestHandler Initial patch by karlcow. | ||||
* | | Issue #16181: cookiejar.http2time() now returns None if year is higher than ↵ | Berker Peksag | 2016-03-14 | 1 | -1/+4 |
|\ \ | |/ | | | | | datetime.MAXYEAR | ||||
| * | Issue #16181: cookiejar.http2time() now returns None if year is higher than ↵ | Berker Peksag | 2016-03-14 | 1 | -1/+4 |
| | | | | | | | | datetime.MAXYEAR | ||||
* | | Issue #26302: merge from 3.5 | Jason R. Coombs | 2016-02-24 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #26302: Correctly identify comma as an invalid character for a cookie ↵ | Anish Shah | 2016-02-07 | 1 | -1/+1 |
| | | | | | | | | (correcting regression in Python 3.5). | ||||
* | | Issue #26045: Merge http.client error addition from 3.5 | Martin Panter | 2016-02-09 | 1 | -1/+16 |
|\ \ | |/ | |||||
| * | Issue #26045: Add UTF-8 suggestion to error in http.client | Martin Panter | 2016-02-09 | 1 | -1/+16 |
| | | | | | | | | Based on patch by Guido van Rossum. | ||||
* | | Issue #25899: Converted non-ASCII characters in docstrings and manpage | Serhiy Storchaka | 2015-12-18 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | to ASCII replacements. Removed UTF-8 BOM from Misc/NEWS. Original patch by Chris Angelico. | ||||
* | | Merge typo and grammar fixes from 3.5 | Martin Panter | 2015-11-14 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | Merge typo and grammar fixes from 3.4 into 3.5 | Martin Panter | 2015-11-14 | 1 | -4/+4 |
| |\ | |||||
| | * | Correct Content-Type syntax in documentation | Martin Panter | 2015-11-14 | 1 | -4/+4 |
| | | | |||||
* | | | Issue #25523: Merge a-to-an corrections from 3.5. | Serhiy Storchaka | 2015-11-02 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #25523: Merge a-to-an corrections from 3.4. | Serhiy Storchaka | 2015-11-02 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Issue #25523: Further a-to-an corrections. | Serhiy Storchaka | 2015-11-02 | 1 | -1/+1 |
| | | | |||||
* | | | Merge typo fixes from 3.5 | Martin Panter | 2015-10-07 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Merge typo fixes from 3.4 into 3.5 | Martin Panter | 2015-10-07 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Various minor typos in documentation and comments | Martin Panter | 2015-10-07 | 1 | -1/+1 |
| | | | |||||
* | | | Issues #25232, #24657: Merge two CGI server fixes from 3.5 | Martin Panter | 2015-10-03 | 1 | -9/+10 |
|\ \ \ | |/ / | |||||
| * | | Issues #25232, #24657: Merge two CGI server fixes from 3.4 into 3.5 | Martin Panter | 2015-10-03 | 1 | -9/+10 |
| |\ \ | | |/ | |||||
| | * | Issue #24657: Prevent CGIRequestHandler from collapsing the URL query | Martin Panter | 2015-10-03 | 1 | -4/+9 |
| | | | | | | | | | | | | | | | Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc string. | ||||
| | * | Issue #25232: Fix CGIRequestHandler's splitting of URL query | Martin Panter | 2015-10-03 | 1 | -5/+1 |
| | | | | | | | | | | | | Patch from Xiang Zhang. | ||||
* | | | Add in missing docstrings. | Raymond Hettinger | 2015-08-19 | 1 | -0/+49 |
|/ / | |||||
* | | Issue #24774: Fix docstring in http.server.test. | Robert Collins | 2015-08-17 | 1 | -2/+1 |
|\ \ | |/ | | | | | Patch from Chiu-Hsiang Hsu. | ||||
| * | Issue #24774: Fix docstring in http.server.test. | Robert Collins | 2015-08-17 | 1 | -2/+1 |
| | | | | | | | | Patch from Chiu-Hsiang Hsu. | ||||
* | | Issue #23888: Handle fractional time in cookie expiry. Patch by ssh. | Robert Collins | 2015-08-03 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #23888: Handle fractional time in cookie expiry. Patch by ssh. | Robert Collins | 2015-08-03 | 1 | -1/+1 |
| | | |||||
* | | merge 3.4 (#22931) | Benjamin Peterson | 2015-05-23 | 1 | -3/+4 |
|\ \ | |/ | |||||
| * | merge 3.3 (#22931) | Benjamin Peterson | 2015-05-23 | 1 | -3/+4 |
| |\ | |||||
| | * | merge 3.2 (#22931) | Benjamin Peterson | 2015-05-23 | 1 | -3/+4 |
| | |\ | |||||
| | | * | allow square brackets in cookie values (closes #22931) | Benjamin Peterson | 2015-05-23 | 1 | -3/+4 |
| | | | | |||||
| | | * | Lax cookie parsing in http.cookies could be a security issue when combined | Antoine Pitrou | 2014-09-16 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | with non-standard cookie handling in some Web browsers. Reported by Sergey Bobrov. | ||||
| | | * | Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more than | Georg Brandl | 2014-09-30 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | 100 headers are read. Adapted from patch by Jyrki Pulliainen. | ||||
* | | | | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -9/+15 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
| * | | | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -9/+15 |
| | | | | | | | | | | | | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
* | | | | #3566: Clean up handling of remote server disconnects. | R David Murray | 2015-04-05 | 1 | -7/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset does two things: introduces a new RemoteDisconnected exception (that subclasses ConnectionResetError and BadStatusLine) so that a remote server disconnection can be detected by client code (and provides a better error message for debugging purposes), and ensures that the client socket is closed if a ConnectionError happens, so that the automatic re-connection code can work if the application handles the error and continues on. Tests are added that confirm that a connection is re-used or not re-used as appropriate to the various combinations of protocol version and headers. Patch by Martin Panter, reviewed by Demian Brecht. (Tweaked only slightly by me.) | ||||
* | | | | Issue #22831: Use "with" to avoid possible fd leaks. | Serhiy Storchaka | 2015-04-04 | 1 | -1/+0 |
| | | | | |||||
* | | | | #2211: properly document the Morsel behavior changes. | R David Murray | 2015-03-29 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also deprecate the undocumented set argument instead of removing it already in 3.5. Initial patch by Demian Brecht. | ||||
* | | | | Merge: #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. | R David Murray | 2015-03-22 | 1 | -13/+24 |
|\ \ \ \ | |/ / / | |||||
| * | | | #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. | R David Murray | 2015-03-22 | 1 | -13/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some http servers will reject PUT, POST, and PATCH requests if they do not have a Content-Length header. Patch by James Rutherford, with additional cleaning up of the 'request' documentation by me. | ||||
* | | | | Restored backward compatibility of pickling http.cookies.Morsel. It was | Serhiy Storchaka | 2015-03-18 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | broken after converting instance attributes to properies in issue #2211. | ||||
* | | | | Issue #2211: Updated the implementation of the http.cookies.Morsel class. | Serhiy Storchaka | 2015-03-18 | 1 | -86/+94 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting attributes key, value and coded_value directly now is deprecated. update() and setdefault() now transform and check keys. Comparing for equality now takes into account attributes key, value and coded_value. copy() now returns a Morsel, not a dict. repr() now contains all attributes. Optimized checking keys and quoting values. Added new tests. Original patch by Demian Brecht. | ||||
* | | | | Issue #23138: Fixed parsing cookies with absent keys or values in cookiejar. | Serhiy Storchaka | 2015-03-13 | 1 | -15/+31 |
|\ \ \ \ | |/ / / | | | | | | | | | Patch by Demian Brecht. | ||||
| * | | | Issue #23138: Fixed parsing cookies with absent keys or values in cookiejar. | Serhiy Storchaka | 2015-03-13 | 1 | -15/+31 |
| | | | | | | | | | | | | | | | | Patch by Demian Brecht. | ||||
* | | | | Issue #22928: Disabled HTTP header injections in http.client. | Serhiy Storchaka | 2015-03-12 | 1 | -0/+37 |
|\ \ \ \ | |/ / / | | | | | | | | | Original patch by Demian Brecht. | ||||
| * | | | Issue #22928: Disabled HTTP header injections in http.client. | Serhiy Storchaka | 2015-03-12 | 1 | -0/+37 |
| | | | | | | | | | | | | | | | | Original patch by Demian Brecht. | ||||
* | | | | Issue #21793: BaseHTTPRequestHandler again logs response code as numeric, | Serhiy Storchaka | 2015-03-07 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | not as stringified enum. Patch by Demian Brecht. | ||||
* | | | | Issue #23442: Rename two member names to stay backward compatible | Berker Peksag | 2015-02-20 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | with the constants in http.client. Initial patch by Demian Brecht. | ||||
* | | | | Issue #23439: Add missing entries to http.client.__all__. | Berker Peksag | 2015-02-20 | 1 | -1/+3 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | Also, document the LineTooLong exception since it can be raised by the members of public API (e.g. http.client.HTTPResponse). Patch by Martin Panter. |