Skip to content
Snippets Groups Projects
Commit ce1b9228 authored by Markus Frei's avatar Markus Frei
Browse files

fixed #2

parent 2dd1f775
No related branches found
No related merge requests found
......@@ -59,6 +59,7 @@ def query(request):
icinga_url = request.headers['Icinga-Url']
headers = {
'Accept': 'application/json',
'Connection': 'close', # close the connection, otherwise WAFs like CloudFlare keep the connection in state TCP_CLOSE (forever)
'X-HTTP-Method-Override': 'GET'
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment