projects
/
nginx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
upstream nginx-0.7.36
[nginx.git]
/
nginx
/
src
/
http
/
modules
/
ngx_http_empty_gif_module.c
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
(file)
--- 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";