aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xapp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.py b/app.py
index 9498516..1b36f23 100755
--- a/app.py
+++ b/app.py
@@ -34,6 +34,7 @@ class Response:
self.write_body_as_cgi_script()
def write_headers_as_cgi_script(self):
+ print(f'{self.status.value} {self.status.phrase}')
for name, val in self.headers():
print(f'{name}: {val}')
print()