X-Git-Url: http://git.rot13.org/?p=nginx.git;a=blobdiff_plain;f=nginx%2Fsrc%2Fhttp%2Fmodules%2Fngx_http_empty_gif_module.c;h=e6515df155dba6df12bb674ad9695ea731b2be9f;hp=8450cae71e3e50cef5651f1d443d96bd9ff1e270;hb=e434499c48d7edbe43d3e2cd2424650751f5d4b9;hpb=ae130c7b2b4158b27f1400e7850bb5e12dc17fc1 diff --git a/nginx/src/http/modules/ngx_http_empty_gif_module.c b/nginx/src/http/modules/ngx_http_empty_gif_module.c index 8450cae..e6515df 100644 --- a/nginx/src/http/modules/ngx_http_empty_gif_module.c +++ b/nginx/src/http/modules/ngx_http_empty_gif_module.c @@ -122,6 +122,7 @@ ngx_http_empty_gif_handler(ngx_http_request_t *r) return rc; } + r->headers_out.content_type_len = sizeof("image/gif") - 1; r->headers_out.content_type.len = sizeof("image/gif") - 1; r->headers_out.content_type.data = (u_char *) "image/gif";