diff options
| author | Alejandro Colomar <alx@nginx.com> | 2023-08-28 17:34:20 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@nginx.com> | 2023-09-05 02:12:28 +0200 |
| commit | 77bda1133c2f614ba13c8d208be96646c2c08626 (patch) | |
| tree | c82abe2a31be3b8f988a62692e616152e22e52bd /src/nxt_http_static.c | |
| parent | 334804209068a4450d22097170fef5c3987c0fa3 (diff) | |
| download | unit-77bda1133c2f614ba13c8d208be96646c2c08626.tar.gz unit-77bda1133c2f614ba13c8d208be96646c2c08626.tar.bz2 | |
HTTP: compress: added "mime_types" rule.
Signed-off-by: Alejandro Colomar <alx@nginx.com>
Diffstat (limited to 'src/nxt_http_static.c')
| -rw-r--r-- | src/nxt_http_static.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
