Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(58760)

Delta Between Two Patch Sets: Lib/http/client.py

Issue 22417: PEP 476: verify HTTPS certificates by default
Left Patch Set: Created 4 years, 7 months ago
Right Patch Set: Created 4 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Doc/whatsnew/3.4.rst ('k') | Lib/ssl.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 """HTTP/1.1 client library 1 """HTTP/1.1 client library
2 2
3 <intro stuff goes here> 3 <intro stuff goes here>
4 <other stuff, too> 4 <other stuff, too>
5 5
6 HTTPConnection goes through a number of "states", which define when a client 6 HTTPConnection goes through a number of "states", which define when a client
7 may legally make another request or fetch the response for a particular 7 may legally make another request or fetch the response for a particular
8 request. This diagram details these state transitions: 8 request. This diagram details these state transitions:
9 9
10 (null) 10 (null)
(...skipping 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 self.args = line, 1358 self.args = line,
1359 self.line = line 1359 self.line = line
1360 1360
1361 class LineTooLong(HTTPException): 1361 class LineTooLong(HTTPException):
1362 def __init__(self, line_type): 1362 def __init__(self, line_type):
1363 HTTPException.__init__(self, "got more than %d bytes when reading %s" 1363 HTTPException.__init__(self, "got more than %d bytes when reading %s"
1364 % (_MAXLINE, line_type)) 1364 % (_MAXLINE, line_type))
1365 1365
1366 # for backwards compatibility 1366 # for backwards compatibility
1367 error = HTTPException 1367 error = HTTPException
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+