Mercurial > hg > nginx-quic
diff src/http/ngx_http_special_response.c @ 716:d8d7c39e3a76
allowing handling 400 errors via proxy_pass
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 25 Sep 2006 17:49:49 +0000 |
parents | 7e24168b0853 |
children | 08652aae6fab |
line wrap: on
line diff
--- a/src/http/ngx_http_special_response.c +++ b/src/http/ngx_http_special_response.c @@ -299,6 +299,9 @@ static ngx_str_t error_pages[] = { }; +static ngx_str_t ngx_http_get_name = { 3, "GET " }; + + ngx_int_t ngx_http_special_response_handler(ngx_http_request_t *r, ngx_int_t error) { @@ -364,6 +367,7 @@ ngx_http_special_response_handler(ngx_ht r->err_status = err_page[i].overwrite; r->method = NGX_HTTP_GET; + r->method_name = ngx_http_get_name; uri = &err_page[i].uri;