Correct Content-Type syntax in documentation

This commit is contained in:
Martin Panter 2015-11-14 00:58:32 +00:00
parent 06622ead80
commit ac34e09bbf
2 changed files with 5 additions and 5 deletions

View file

@ -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`::