Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ceadc8

Browse files
committed
No text file relying on significant trailing whitespace is robust under
modification. Removed the need for that.
1 parent b282520 commit 5ceadc8

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

Lib/httplib.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@
2525
v
2626
Unread-response [Response-headers-read]
2727
|\____________________
28-
| \
29-
| response.read() | putrequest()
30-
v v
31-
Idle Req-started-unread-response
32-
_______/|
33-
/ |
34-
response.read() | | ( putheader() )* endheaders()
35-
v v
36-
Request-started Req-sent-unread-response
37-
|
38-
| response.read()
39-
v
40-
Request-sent
28+
| |
29+
| response.read() | putrequest()
30+
v v
31+
Idle Req-started-unread-response
32+
______/|
33+
/ |
34+
response.read() | | ( putheader() )* endheaders()
35+
v v
36+
Request-started Req-sent-unread-response
37+
|
38+
| response.read()
39+
v
40+
Request-sent
4141
4242
This diagram presents the following rules:
4343
-- a second request may not be started until {response-headers-read}
@@ -566,7 +566,7 @@ def makefile(self, mode, bufsize=None):
566566
interface of a real socket. It only supports modes 'r' and
567567
'rb' and the bufsize argument is ignored.
568568
569-
The returned object contains *all* of the file data
569+
The returned object contains *all* of the file data
570570
"""
571571
if mode != 'r' and mode != 'rb':
572572
raise UnimplementedFileMode()
@@ -719,11 +719,11 @@ class HTTPS(HTTP):
719719
720720
Python 1.5.2 did not have an HTTPS class, but it defined an
721721
interface for sending http requests that is also useful for
722-
https.
722+
https.
723723
"""
724724

725725
_connection_class = HTTPSConnection
726-
726+
727727

728728
class HTTPException(Exception):
729729
pass

0 commit comments

Comments
 (0)