Mercurial > hg > nginx-quic
diff src/http/ngx_http_special_response.c @ 1057:bbde03037ef6
NGX_HTTP_PRECONDITION_FAILED
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 18 Jan 2007 20:51:51 +0000 |
parents | 1be87cdd010f |
children | 458e041fc902 |
line wrap: on
line diff
--- a/src/http/ngx_http_special_response.c +++ b/src/http/ngx_http_special_response.c @@ -139,6 +139,14 @@ static char error_411_page[] = ; +static char error_412_page[] = +"<html>" CRLF +"<head><title>412 Precondition Failed</title></head>" CRLF +"<body bgcolor=\"white\">" CRLF +"<center><h1>412 Precondition Failed</h1></center>" CRLF +; + + static char error_413_page[] = "<html>" CRLF "<head><title>413 Request Entity Too Large</title></head>" CRLF @@ -274,7 +282,7 @@ static ngx_str_t error_pages[] = { ngx_string(error_409_page), ngx_string(error_410_page), ngx_string(error_411_page), - ngx_null_string, /* 412 */ + ngx_string(error_412_page), ngx_string(error_413_page), ngx_string(error_414_page), ngx_string(error_415_page),