diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-01-13 19:16:21 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-01-13 19:16:21 (GMT) |
commit | 5ceadc8cba7ebd3d4e1ba44d78bd3b48869728ec (patch) | |
tree | b01ff8e42343d90f3e61bce29147e34c91545826 /Lib | |
parent | b2825205a28e743a10574d4b8df84241d98650ae (diff) | |
download | cpython-5ceadc8cba7ebd3d4e1ba44d78bd3b48869728ec.zip cpython-5ceadc8cba7ebd3d4e1ba44d78bd3b48869728ec.tar.gz cpython-5ceadc8cba7ebd3d4e1ba44d78bd3b48869728ec.tar.bz2 |
No text file relying on significant trailing whitespace is robust under
modification. Removed the need for that.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/httplib.py | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py index 17ca268..ae65a11 100644 --- a/Lib/httplib.py +++ b/Lib/httplib.py @@ -25,19 +25,19 @@ request. This diagram details these state transitions: v Unread-response [Response-headers-read] |\____________________ - | \ - | response.read() | putrequest() - v v - Idle Req-started-unread-response - _______/| - / | - response.read() | | ( putheader() )* endheaders() - v v - Request-started Req-sent-unread-response - | - | response.read() - v - Request-sent + | | + | response.read() | putrequest() + v v + Idle Req-started-unread-response + ______/| + / | + response.read() | | ( putheader() )* endheaders() + v v + Request-started Req-sent-unread-response + | + | response.read() + v + Request-sent This diagram presents the following rules: -- a second request may not be started until {response-headers-read} @@ -566,7 +566,7 @@ class FakeSocket: interface of a real socket. It only supports modes 'r' and 'rb' and the bufsize argument is ignored. - The returned object contains *all* of the file data + The returned object contains *all* of the file data """ if mode != 'r' and mode != 'rb': raise UnimplementedFileMode() @@ -719,11 +719,11 @@ if hasattr(socket, 'ssl'): Python 1.5.2 did not have an HTTPS class, but it defined an interface for sending http requests that is also useful for - https. + https. """ _connection_class = HTTPSConnection - + class HTTPException(Exception): pass |