aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2013-09-03 21:07:19 +0400
committerValentin Bartenev <vbart@nginx.com>2013-09-03 21:07:19 +0400
commitd034e63a11539c84ba9fe6fcb23049d1dac44e48 (patch)
tree315de4b2fdf4485401bf29bd3614a3b54527687c /src
parentd33225db585fd40a9662bcc4e1fb12d1cc597867 (diff)
downloadnginx-d034e63a11539c84ba9fe6fcb23049d1dac44e48.tar.gz
nginx-d034e63a11539c84ba9fe6fcb23049d1dac44e48.zip
Return reason phrase for 414.
After 62be77b0608f nginx can return this code.
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_header_filter_module.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/http/ngx_http_header_filter_module.c b/src/http/ngx_http_header_filter_module.c
index 875177b46..fc54836f6 100644
--- a/src/http/ngx_http_header_filter_module.c
+++ b/src/http/ngx_http_header_filter_module.c
@@ -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"),