mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 00:07:14 +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():
|
||||
self.send_header('Content-Type', 'text/html')
|
||||
self.end_headers()
|
||||
self.wfile.write(
|
||||
'<html><head><title>{}</title></head>'.format('Authentication successful').encode('utf-8'))
|
||||
self.wfile.write('<body><p>{}</p></body>'.format('Authentication successful').encode('utf-8'))
|
||||
self.wfile.write('<html><head><title>Authentication successful</title></head>'.encode('utf-8'))
|
||||
self.wfile.write('<body><p>Authentication successful</p></body>'.encode('utf-8'))
|
||||
else:
|
||||
self.end_headers()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user