summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.request.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-14 00:58:32 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-14 00:58:32 (GMT)
commitac34e09bbfe59e0d2075be7db317b91da6ca2c69 (patch)
treeea33de5931ff9ebc7543f6b9508f6cc28f28ce85 /Doc/library/urllib.request.rst
parent06622ead8072f3602bba8cd1924f0897873ad8b1 (diff)
downloadcpython-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.rst2
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`::