remove content-encoding, transfer-encoding and etag header for generated error bodies
This commit is contained in:
parent
d0f6484e7c
commit
59835b5eb1
|
@ -253,4 +253,7 @@ void li_response_send_error_page(liConnection *con) {
|
|||
));
|
||||
|
||||
li_chunkqueue_append_string(con->out, html);
|
||||
li_http_header_remove(vr->response.headers, CONST_STR_LEN("transfer-encoding"));
|
||||
li_http_header_remove(vr->response.headers, CONST_STR_LEN("content-encoding"));
|
||||
li_http_header_remove(vr->response.headers, CONST_STR_LEN("etag"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue