From 75e9535a250eb5c9d16a16633033786fde125758 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Mon, 28 Aug 2023 17:34:20 +0200 Subject: HTTP: compress: added "mime_types" rule. Signed-off-by: Alejandro Colomar Signed-off-by: Alejandro Colomar --- src/nxt_http_static.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nxt_http_static.c') diff --git a/src/nxt_http_static.c b/src/nxt_http_static.c index fc26924d..490a41d4 100644 --- a/src/nxt_http_static.c +++ b/src/nxt_http_static.c @@ -648,6 +648,7 @@ nxt_http_static_send_ready(nxt_task_t *task, void *obj, void *data) r->body_handler = NULL; } + r->resp.mtype = mtype; nxt_http_request_header_send(task, r); r->state = &nxt_http_static_send_state; -- cgit