Klaus Demo nginx / da7281a
NGX_HTTP_PRECONDITION_FAILED Igor Sysoev 15 years ago
3 changed file(s) with 11 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
8686 ngx_string("409 Conflict"),
8787 ngx_string("410 Gone"),
8888 ngx_string("411 Length Required"),
89 ngx_null_string, /* "412 Precondition Failed" */
89 ngx_string("412 Precondition Failed"),
9090 ngx_string("413 Request Entity Too Large"),
9191 ngx_null_string, /* "414 Request-URI Too Large", but we never send it
9292 * because we treat such requests as the HTTP/0.9
7676 #define NGX_HTTP_REQUEST_TIME_OUT 408
7777 #define NGX_HTTP_CONFLICT 409
7878 #define NGX_HTTP_LENGTH_REQUIRED 411
79 #define NGX_HTTP_PRECONDITION_FAILED 412
7980 #define NGX_HTTP_REQUEST_ENTITY_TOO_LARGE 413
8081 #define NGX_HTTP_REQUEST_URI_TOO_LARGE 414
8182 #define NGX_HTTP_UNSUPPORTED_MEDIA_TYPE 415
135135 "<head><title>411 Length Required</title></head>" CRLF
136136 "<body bgcolor=\"white\">" CRLF
137137 "<center><h1>411 Length Required</h1></center>" CRLF
138 ;
139
140
141 static char error_412_page[] =
142 "<html>" CRLF
143 "<head><title>412 Precondition Failed</title></head>" CRLF
144 "<body bgcolor=\"white\">" CRLF
145 "<center><h1>412 Precondition Failed</h1></center>" CRLF
138146 ;
139147
140148
273281 ngx_string(error_409_page),
274282 ngx_string(error_410_page),
275283 ngx_string(error_411_page),
276 ngx_null_string, /* 412 */
284 ngx_string(error_412_page),
277285 ngx_string(error_413_page),
278286 ngx_string(error_414_page),
279287 ngx_string(error_415_page),