Added charset to HTTP header output.
This commit is contained in:
parent
7e72b0cd01
commit
56199acc2f
15 changed files with 19 additions and 21 deletions
|
|
@ -6,7 +6,7 @@ from datetime import datetime
|
|||
#from http import HTTPStatus
|
||||
#from pprint import pprint
|
||||
|
||||
print("Content-type: text/plain\n")
|
||||
print("Content-type: text/plain; charset=utf-8\n")
|
||||
#print(HTTPStatus.OK.value)
|
||||
print("Hello from Python!")
|
||||
print("")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue