summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_static.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_http_static.c')
-rw-r--r--src/nxt_http_static.c1
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;