mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
Simplified GET response
This commit is contained in:
parent
65645ee224
commit
d5670d9b08
@ -352,9 +352,8 @@ else: # Linux / Run from source
|
|||||||
if self.parse():
|
if self.parse():
|
||||||
self.send_header('Content-Type', 'text/html')
|
self.send_header('Content-Type', 'text/html')
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
self.wfile.write(
|
self.wfile.write('<html><head><title>Authentication successful</title></head>'.encode('utf-8'))
|
||||||
'<html><head><title>{}</title></head>'.format('Authentication successful').encode('utf-8'))
|
self.wfile.write('<body><p>Authentication successful</p></body>'.encode('utf-8'))
|
||||||
self.wfile.write('<body><p>{}</p></body>'.format('Authentication successful').encode('utf-8'))
|
|
||||||
else:
|
else:
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user