File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -487,11 +487,12 @@ AP_DECLARE(const char *) ap_get_server_built(void);
487487 * When adding a new code here add it to status_lines as well.
488488 * A future version should dynamically generate the apr_table_t at startup.
489489 */
490- #define RESPONSE_CODES 103
490+ #define RESPONSE_CODES 104
491491
492492#define HTTP_CONTINUE 100
493493#define HTTP_SWITCHING_PROTOCOLS 101
494494#define HTTP_PROCESSING 102
495+ #define HTTP_EARLY_HINTS 103
495496#define HTTP_OK 200
496497#define HTTP_CREATED 201
497498#define HTTP_ACCEPTED 202
Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ static const char * const status_lines[RESPONSE_CODES] =
7575 "100 Continue" ,
7676 "101 Switching Protocols" ,
7777 "102 Processing" ,
78- #define LEVEL_200 3
78+ "103 Early Hints" ,
79+ #define LEVEL_200 4
7980 "200 OK" ,
8081 "201 Created" ,
8182 "202 Accepted" ,
@@ -103,7 +104,7 @@ static const char * const status_lines[RESPONSE_CODES] =
103104 NULL , /* 224 */
104105 NULL , /* 225 */
105106 "226 IM Used" ,
106- #define LEVEL_300 30
107+ #define LEVEL_300 31
107108 "300 Multiple Choices" ,
108109 "301 Moved Permanently" ,
109110 "302 Found" ,
@@ -113,7 +114,7 @@ static const char * const status_lines[RESPONSE_CODES] =
113114 NULL , /* 306 */
114115 "307 Temporary Redirect" ,
115116 "308 Permanent Redirect" ,
116- #define LEVEL_400 39
117+ #define LEVEL_400 40
117118 "400 Bad Request" ,
118119 "401 Unauthorized" ,
119120 "402 Payment Required" ,
@@ -166,7 +167,7 @@ static const char * const status_lines[RESPONSE_CODES] =
166167 NULL , /* 449 */
167168 NULL , /* 450 */
168169 "451 Unavailable For Legal Reasons" ,
169- #define LEVEL_500 91
170+ #define LEVEL_500 92
170171 "500 Internal Server Error" ,
171172 "501 Not Implemented" ,
172173 "502 Bad Gateway" ,
You can’t perform that action at this time.
0 commit comments