Skip to content

Commit

Permalink
No text file relying on significant trailing whitespace is robust under
Browse files Browse the repository at this point in the history
modification.  Removed the need for that.
  • Loading branch information
tim-one committed Jan 13, 2001
1 parent b282520 commit 5ceadc8
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions Lib/httplib.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@
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}
Expand Down Expand Up @@ -566,7 +566,7 @@ def makefile(self, mode, bufsize=None):
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()
Expand Down Expand Up @@ -719,11 +719,11 @@ class HTTPS(HTTP):
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
Expand Down

0 comments on commit 5ceadc8

Please sign in to comment.