summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-08-10 05:25:16 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-08-10 05:25:16 (GMT)
commit540f0451d282181449ae42b9325764a690bd6162 (patch)
tree58f7c4496321eb3798acea3d5399deee8237ca84 /Doc/library
parent4199bbaf63bf2d017c9fbd3ee5267fc571516d7f (diff)
downloadcpython-540f0451d282181449ae42b9325764a690bd6162.zip
cpython-540f0451d282181449ae42b9325764a690bd6162.tar.gz
cpython-540f0451d282181449ae42b9325764a690bd6162.tar.bz2
Correct misspellings of ISO-8859
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/http.client.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
index 8954648..a9ca4b0 100644
--- a/Doc/library/http.client.rst
+++ b/Doc/library/http.client.rst
@@ -227,12 +227,12 @@ HTTPConnection Objects
If *body* is specified, the specified data is sent after the headers are
finished. It may be a string, a :term:`bytes-like object`, an open
:term:`file object`, or an iterable of :term:`bytes-like object`\s. If
- *body* is a string, it is encoded as ISO-8851-1, the default for HTTP. If
+ *body* is a string, it is encoded as ISO-8859-1, the default for HTTP. If
it is a bytes-like object the bytes are sent as is. If it is a :term:`file
object`, the contents of the file is sent; this file object should support
at least the ``read()`` method. If the file object has a ``mode``
attribute, the data returned by the ``read()`` method will be encoded as
- ISO-8851-1 unless the ``mode`` attribute contains the substring ``b``,
+ ISO-8859-1 unless the ``mode`` attribute contains the substring ``b``,
otherwise the data returned by ``read()`` is sent as is. If *body* is an
iterable, the elements of the iterable are sent as is until the iterable is
exhausted.