Browse Source

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

personal/stbuehler/wip
Stefan Bühler 13 years ago
parent
commit
59835b5eb1
  1. 3
      src/main/response.c

3
src/main/response.c

@ -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…
Cancel
Save