mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-24 04:20:56 -04:00
Add VAR HTTP-HEADER if necessary
This commit is contained in:
parent
cdb53beb3b
commit
09cd024199
@ -416,6 +416,7 @@ static int accessHandlerCallback(void *cls,
|
|||||||
|
|
||||||
/* Add if necessary the content-encoding */
|
/* Add if necessary the content-encoding */
|
||||||
if (deflated) {
|
if (deflated) {
|
||||||
|
MHD_add_response_header(response, MHD_HTTP_HEADER_VARY, "Accept-Encoding");
|
||||||
MHD_add_response_header(response, MHD_HTTP_HEADER_CONTENT_ENCODING, "deflate");
|
MHD_add_response_header(response, MHD_HTTP_HEADER_CONTENT_ENCODING, "deflate");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user