If you trust this link, click it to continue.
https://stackoverflow.com/questions/79407772/getting-500-error-when-include-doctype-in-python-output-but-html-is-fine