Remove keep-alive header from responses. First of all, it should say timeout=<value> which wasn't the case with existing implementation, and secondly none of the other web servers I tried include this header.
This commit is contained in:
parent
7f41c5fa6b
commit
85be5768c8
|
@ -82,7 +82,6 @@ def test_response_header(app):
|
|||
request, response = app.test_client.get("/")
|
||||
assert dict(response.headers) == {
|
||||
"connection": "keep-alive",
|
||||
"keep-alive": str(app.config.KEEP_ALIVE_TIMEOUT),
|
||||
"content-length": "11",
|
||||
"content-type": "application/json",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user