mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-23 20:10:25 -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 */
|
||||
if (deflated) {
|
||||
MHD_add_response_header(response, MHD_HTTP_HEADER_VARY, "Accept-Encoding");
|
||||
MHD_add_response_header(response, MHD_HTTP_HEADER_CONTENT_ENCODING, "deflate");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user