Mercurial > hg > nginx-vendor-0-7
diff src/http/ngx_http_script.c @ 202:ca5f86d94316 NGINX_0_3_48
nginx 0.3.48
*) Change: now the ngx_http_charset_module works for subrequests, if
the response has no "Content-Type" header line.
*) Bugfix: if the "proxy_pass" directive has no URI part, then the
"proxy_redirect default" directive add the unnecessary slash in
start of the rewritten redirect.
*) Bugfix: the internal redirect always transform client's HTTP method
to GET, now the transformation is made for the "X-Accel-Redirect"
redirects only and if the method is not HEAD; bug appeared in 0.3.42.
*) Bugfix: the ngx_http_perl_module could not be built, if the perl was
built with the threads support; bug appeared in 0.3.46.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 29 May 2006 00:00:00 +0400 |
parents | 3689cd4e3228 |
children | 2a97b47ff8db |
line wrap: on
line diff
--- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c @@ -833,6 +833,10 @@ ngx_http_script_return_code(ngx_http_scr e->status = code->status; + if (code->status == NGX_HTTP_NO_CONTENT) { + e->request->header_only = 1; + } + e->ip += sizeof(ngx_http_script_return_code_t) - sizeof(uintptr_t); }