óÐÁÓÉÂÏ ÐÏÞÉÎÉÌÏÓØ.
--- src/http/ngx_http_header_filter_module.c.orig 2013-05-13 10:43:28.000000000 +0000
+++ src/http/ngx_http_header_filter_module.c 2013-09-05 14:37:15.011369647 +0000
@@ -92,10 +92,7 @@
š š š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"),
š
@@ -270,6 +267,12 @@
š š š š š š šlen += NGX_INT_T_LEN;
š š š š š š šstatus_line = NULL;
š š š š š}
+
+ š š š šif (status_line && status_line->len == 0) {
+ š š š š š šstatus = r->headers_out.status;
+ š š š š š šlen += NGX_INT_T_LEN;
+ š š š š š šstatus_line = NULL;
+ š š š š}
š š š}
š
š š šclcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);