2
0
Fork 0

remove content-encoding, transfer-encoding and etag header for generated error bodies

personal/stbuehler/wip
Stefan Bühler 2009-10-10 20:21:39 +02:00
parent d0f6484e7c
commit 59835b5eb1
1 changed files with 3 additions and 0 deletions

View File

@ -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"));
}