Mercurial > hg > nginx-quic
changeset 5369:907f01a2a7c0
Return reason phrase for 414.
After 62be77b0608f nginx can return this code.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Tue, 03 Sep 2013 21:07:19 +0400 |
parents | cd46297325bd |
children | ee78c7705a8e |
files | src/http/ngx_http_header_filter_module.c |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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"),