Add line break to server response
This commit is contained in:
parent
7e5b1007a3
commit
c8917f3b71
@ -10,7 +10,7 @@ class handler(BaseHTTPRequestHandler):
|
||||
self.send_header('Content-type','text/html')
|
||||
self.end_headers()
|
||||
|
||||
message = "Hello, World! Here is simple HTTP response..."
|
||||
message = "Hello, World! Here is simple HTTP response...\n"
|
||||
self.wfile.write(bytes(message, "utf8"))
|
||||
|
||||
with HTTPServer(('', PORT), handler) as server:
|
||||
|
Loading…
Reference in New Issue
Block a user