-
Notifications
You must be signed in to change notification settings - Fork 1
/
response_codes.h
28 lines (28 loc) · 1.48 KB
/
response_codes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ .status = 100, .response = "100 Continue", },
{ .status = 200, .response = "200 OK", },
{ .status = 202, .response = "202 Accepted", },
{ .status = 204, .response = "204 No Content", },
{ .status = 205, .response = "205 Reset Content", },
{ .status = 206, .response = "206 Partial Content", },
{ .status = 301, .response = "301 Moved Permanently", },
{ .status = 302, .response = "302 Found", },
{ .status = 303, .response = "303 See Other", },
{ .status = 304, .response = "304 Not Modified", },
{ .status = 400, .response = "400 Bad Request", },
{ .status = 401, .response = "401 Unauthorized", },
{ .status = 403, .response = "403 Forbidden", },
{ .status = 404, .response = "404 Not Found", },
{ .status = 405, .response = "405 Method Not Allowed", },
{ .status = 406, .response = "406 Not Acceptable", },
{ .status = 410, .response = "410 Gone", },
{ .status = 411, .response = "411 Length Required", },
{ .status = 413, .response = "413 Payload Too Large", },
{ .status = 416, .response = "416 Requested Range Not Satisfiable", },
{ .status = 429, .response = "429 Too Many Requests", },
{ .status = 431, .response = "431 Request Header Fields Too Large", },
{ .status = 451, .response = "451 Unavailable For Legal Reasons", },
{ .status = 500, .response = "500 Internal Server Error", },
{ .status = 501, .response = "501 Not Implemented", },
{ .status = 502, .response = "502 Bad Gateway", },
{ .status = 503, .response = "503 Service Unavailable", },
{ .status = 504, .response = "504 Gateway Timeout", },