Added Content-type to echo in test scripts.

This commit is contained in:
Johannes Findeisen 2024-02-10 18:19:11 +01:00
commit 519e20cd04
4 changed files with 8 additions and 0 deletions

View file

@ -3,8 +3,11 @@ permalink: /cgi/python/index.py
---
from datetime import datetime
#from http import HTTPStatus
from pprint import pprint
print("Content-type: text/plain\n")
#print(HTTPStatus.OK.value)
print("Hello from Python!")
print("")
print('print(datetime.today().strftime("%Y-%m-%d"))')