diff src/http/ngx_http_header_filter_module.c @ 186:54aabf2b0bc6 NGINX_0_3_40

nginx 0.3.40 *) Feature: the ngx_http_dav_module supports the MKCOL method. *) Feature: the "create_full_put_path" directive. *) Feature: the "$limit_rate" variable.
author Igor Sysoev <http://sysoev.ru>
date Wed, 19 Apr 2006 00:00:00 +0400
parents 13710a1813ad
children 3866d57d9cfd
line wrap: on
line diff
--- a/src/http/ngx_http_header_filter_module.c
+++ b/src/http/ngx_http_header_filter_module.c
@@ -93,7 +93,7 @@ static ngx_str_t ngx_http_status_lines[]
                        * because we treat such requests as the HTTP/0.9
                        * requests and send only a body without a header
                        */
-    ngx_null_string,  /* "415 Unsupported Media Type" */
+    ngx_string("415 Unsupported Media Type"),
     ngx_string("416 Requested Range Not Satisfiable"),
 
     /* ngx_null_string, */  /* "417 Expectation Failed" */
@@ -111,11 +111,11 @@ static ngx_str_t ngx_http_status_lines[]
     ngx_string("501 Method Not Implemented"),
     ngx_string("502 Bad Gateway"),
     ngx_string("503 Service Temporarily Unavailable"),
-    ngx_string("504 Gateway Time-out")
+    ngx_string("504 Gateway Time-out"),
 
-    /* ngx_null_string, */  /* "505 HTTP Version Not Supported" */
-    /* ngx_null_string, */  /* "506 Variant Also Negotiates" */
-    /* ngx_null_string, */  /* "507 Insufficient Storage" */
+    ngx_null_string,        /* "505 HTTP Version Not Supported" */
+    ngx_null_string,        /* "506 Variant Also Negotiates" */
+    ngx_string("507 Insufficient Storage"),
     /* ngx_null_string, */  /* "508 unused" */
     /* ngx_null_string, */  /* "509 unused" */
     /* ngx_null_string, */  /* "510 Not Extended" */