diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-14 00:58:32 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-14 00:58:32 (GMT) |
commit | ac34e09bbfe59e0d2075be7db317b91da6ca2c69 (patch) | |
tree | ea33de5931ff9ebc7543f6b9508f6cc28f28ce85 /Doc/library/urllib.request.rst | |
parent | 06622ead8072f3602bba8cd1924f0897873ad8b1 (diff) | |
download | cpython-ac34e09bbfe59e0d2075be7db317b91da6ca2c69.zip cpython-ac34e09bbfe59e0d2075be7db317b91da6ca2c69.tar.gz cpython-ac34e09bbfe59e0d2075be7db317b91da6ca2c69.tar.bz2 |
Correct Content-Type syntax in documentation
Diffstat (limited to 'Doc/library/urllib.request.rst')
-rw-r--r-- | Doc/library/urllib.request.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 74f3c1f..4df0f56 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -1107,7 +1107,7 @@ The code for the sample CGI used in the above example is:: #!/usr/bin/env python import sys data = sys.stdin.read() - print('Content-type: text-plain\n\nGot Data: "%s"' % data) + print('Content-type: text/plain\n\nGot Data: "%s"' % data) Here is an example of doing a ``PUT`` request using :class:`Request`:: |