Remove unnecessary header
This commit is contained in:
parent
99c06fe744
commit
28b1457a3a
@ -160,8 +160,7 @@ class AjaxServer:
|
|||||||
headers = {
|
headers = {
|
||||||
'HTTP/1.1 200 OK': None,
|
'HTTP/1.1 200 OK': None,
|
||||||
'Content-Type': 'text/json',
|
'Content-Type': 'text/json',
|
||||||
'Content-Length': str(len(body)),
|
'Content-Length': str(len(body))
|
||||||
'Access-Control-Allow-Origin': 'http://127.0.0.1'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for key, value in headers.items():
|
for key, value in headers.items():
|
||||||
|
Loading…
Reference in New Issue
Block a user