File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ The module provides the following classes:
3636 used. If the optional *timeout * parameter is given, blocking
3737 operations (like connection attempts) will timeout after that many seconds
3838 (if it is not given, the global default timeout setting is used).
39- The optional *source_address * parameter may be a typle of a (host, port)
39+ The optional *source_address * parameter may be a tuple of a (host, port)
4040 to use as the source address the HTTP connection is made from.
4141
4242 For example, the following calls all create instances that connect to the server
@@ -400,7 +400,7 @@ HTTPConnection Objects
400400 contents of the file is sent; this file object should support ``fileno() ``
401401 and ``read() `` methods. The header Content-Length is automatically set to
402402 the length of the file as reported by stat. The *body * argument may also be
403- an iterable and Contet -Length header should be explicitly provided when the
403+ an iterable and Content -Length header should be explicitly provided when the
404404 body is an iterable.
405405
406406 The *headers * argument should be a mapping of extra HTTP
You can’t perform that action at this time.
0 commit comments