mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Correct Content-Type syntax in documentation
This commit is contained in:
parent
06622ead80
commit
ac34e09bbf
2 changed files with 5 additions and 5 deletions
|
@ -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`::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue