diff options
author | Raymond Hettinger <python@rcn.com> | 2011-01-30 00:39:00 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-01-30 00:39:00 (GMT) |
commit | 519c308939321db49698ce84b17cc7ff6eb0892b (patch) | |
tree | e095317c2f59ba55e1ff8e025cf3324d52f394ff /Doc/library | |
parent | ac4e58eb610f7da80396f5c5e0a5d5d15bf0cc3f (diff) | |
download | cpython-519c308939321db49698ce84b17cc7ff6eb0892b.zip cpython-519c308939321db49698ce84b17cc7ff6eb0892b.tar.gz cpython-519c308939321db49698ce84b17cc7ff6eb0892b.tar.bz2 |
Typos.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/http.client.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index 4e4b934..704585b 100644 --- a/Doc/library/http.client.rst +++ b/Doc/library/http.client.rst @@ -36,7 +36,7 @@ The module provides the following classes: used. If the optional *timeout* parameter is given, blocking operations (like connection attempts) will timeout after that many seconds (if it is not given, the global default timeout setting is used). - The optional *source_address* parameter may be a typle of a (host, port) + The optional *source_address* parameter may be a tuple of a (host, port) to use as the source address the HTTP connection is made from. For example, the following calls all create instances that connect to the server @@ -400,7 +400,7 @@ HTTPConnection Objects contents of the file is sent; this file object should support ``fileno()`` and ``read()`` methods. The header Content-Length is automatically set to the length of the file as reported by stat. The *body* argument may also be - an iterable and Contet-Length header should be explicitly provided when the + an iterable and Content-Length header should be explicitly provided when the body is an iterable. The *headers* argument should be a mapping of extra HTTP |