[nginx] Return reason phrase for 414.
Valentin Bartenev
vbart at nginx.com
Wed Sep 4 18:35:09 UTC 2013
details: http://hg.nginx.org/nginx/rev/907f01a2a7c0
branches:
changeset: 5369:907f01a2a7c0
user: Valentin Bartenev <vbart at nginx.com>
date: Tue Sep 03 21:07:19 2013 +0400
description:
Return reason phrase for 414.
After 62be77b0608f nginx can return this code.
diffstat:
src/http/ngx_http_header_filter_module.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diffs (15 lines):
diff -r cd46297325bd -r 907f01a2a7c0 src/http/ngx_http_header_filter_module.c
--- a/src/http/ngx_http_header_filter_module.c Wed Sep 04 21:30:09 2013 +0400
+++ b/src/http/ngx_http_header_filter_module.c Tue Sep 03 21:07:19 2013 +0400
@@ -92,10 +92,7 @@ static ngx_str_t ngx_http_status_lines[]
ngx_string("411 Length Required"),
ngx_string("412 Precondition Failed"),
ngx_string("413 Request Entity Too Large"),
- ngx_null_string, /* "414 Request-URI Too Large", but we never send it
- * because we treat such requests as the HTTP/0.9
- * requests and send only a body without a header
- */
+ ngx_string("414 Request-URI Too Large"),
ngx_string("415 Unsupported Media Type"),
ngx_string("416 Requested Range Not Satisfiable"),
More information about the nginx-devel
mailing list