View | Details | Raw Unified | Return to bug 58985
Collapse All | Expand All

(-)include/httpd.h (+1 lines)
Lines 532-537 Link Here
532
#define HTTP_PRECONDITION_REQUIRED           428
532
#define HTTP_PRECONDITION_REQUIRED           428
533
#define HTTP_TOO_MANY_REQUESTS               429
533
#define HTTP_TOO_MANY_REQUESTS               429
534
#define HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE 431
534
#define HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE 431
535
#define HTTP_UNAVAILABLE_FOR_LEGAL_REASONS   451
535
#define HTTP_INTERNAL_SERVER_ERROR           500
536
#define HTTP_INTERNAL_SERVER_ERROR           500
536
#define HTTP_NOT_IMPLEMENTED                 501
537
#define HTTP_NOT_IMPLEMENTED                 501
537
#define HTTP_BAD_GATEWAY                     502
538
#define HTTP_BAD_GATEWAY                     502
(-)modules/http/http_protocol.c (-1 / +28 lines)
Lines 146-152 Link Here
146
    "429 Too Many Requests",
146
    "429 Too Many Requests",
147
    NULL, /* 430 */
147
    NULL, /* 430 */
148
    "431 Request Header Fields Too Large",
148
    "431 Request Header Fields Too Large",
149
#define LEVEL_500 71
149
    NULL, /* 432 */
150
    NULL, /* 433 */
151
    NULL, /* 434 */
152
    NULL, /* 435 */
153
    NULL, /* 436 */
154
    NULL, /* 437 */
155
    NULL, /* 438 */
156
    NULL, /* 439 */
157
    NULL, /* 440 */
158
    NULL, /* 441 */
159
    NULL, /* 442 */
160
    NULL, /* 443 */
161
    NULL, /* 444 */
162
    NULL, /* 445 */
163
    NULL, /* 446 */
164
    NULL, /* 447 */
165
    NULL, /* 448 */
166
    NULL, /* 449 */
167
    NULL, /* 450 */
168
    "451 Unavailable For Legal Reasons",
169
#define LEVEL_500 91
150
    "500 Internal Server Error",
170
    "500 Internal Server Error",
151
    "501 Not Implemented",
171
    "501 Not Implemented",
152
    "502 Bad Gateway",
172
    "502 Bad Gateway",
Lines 1313-1318 Link Here
1313
               "request as the requested host name does not match\n"
1333
               "request as the requested host name does not match\n"
1314
               "the Server Name Indication (SNI) in use for this\n"
1334
               "the Server Name Indication (SNI) in use for this\n"
1315
               "connection.</p>\n");
1335
               "connection.</p>\n");
1336
    case HTTP_UNAVAILABLE_FOR_LEGAL_REASONS:
1337
        s1 = apr_pstrcat(p,
1338
                         "<p>Access to ",
1339
                         ap_escape_html(r->pool, r->uri),
1340
                         "\nhas been denied for legal reasons.<br />\n",
1341
                         NULL);
1342
        return(add_optional_notes(r, s1, "error-notes", "</p>\n"));
1316
    default:                    /* HTTP_INTERNAL_SERVER_ERROR */
1343
    default:                    /* HTTP_INTERNAL_SERVER_ERROR */
1317
        /*
1344
        /*
1318
         * This comparison to expose error-notes could be modified to
1345
         * This comparison to expose error-notes could be modified to

Return to bug 58985