diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-02-24 21:37:53 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-02-24 21:41:12 +0300 |
commit | 4b12c7f80c45381357dedb38a352b305c92562be (patch) | |
tree | 0224059ab266b07ff9ff1b3584d56b5dbf1dc026 /src/microhttpd/reason_phrase.c | |
parent | 3ef98c28c6572416484954850f59ba9b13f24f31 (diff) | |
download | libmicrohttpd-4b12c7f80c45381357dedb38a352b305c92562be.tar.gz libmicrohttpd-4b12c7f80c45381357dedb38a352b305c92562be.zip |
reason_phrase.c: updated response phrases to latest.
Diffstat (limited to 'src/microhttpd/reason_phrase.c')
-rw-r--r-- | src/microhttpd/reason_phrase.c | 38 |
1 files changed, 29 insertions, 9 deletions
diff --git a/src/microhttpd/reason_phrase.c b/src/microhttpd/reason_phrase.c index ded65650..425bb47a 100644 --- a/src/microhttpd/reason_phrase.c +++ b/src/microhttpd/reason_phrase.c | |||
@@ -49,6 +49,25 @@ static const char *const two_hundred[] = { | |||
49 | "Reset Content", | 49 | "Reset Content", |
50 | "Partial Content", | 50 | "Partial Content", |
51 | "Multi-Status", | 51 | "Multi-Status", |
52 | "Already Reported", | ||
53 | "Unknown", | ||
54 | "Unknown", /* 210 */ | ||
55 | "Unknown", | ||
56 | "Unknown", | ||
57 | "Unknown", | ||
58 | "Unknown", | ||
59 | "Unknown", /* 215 */ | ||
60 | "Unknown", | ||
61 | "Unknown", | ||
62 | "Unknown", | ||
63 | "Unknown", | ||
64 | "Unknown", /* 220 */ | ||
65 | "Unknown", | ||
66 | "Unknown", | ||
67 | "Unknown", | ||
68 | "Unknown", | ||
69 | "Unknown", /* 225 */ | ||
70 | "IM Used" | ||
52 | }; | 71 | }; |
53 | 72 | ||
54 | static const char *const three_hundred[] = { | 73 | static const char *const three_hundred[] = { |
@@ -78,25 +97,25 @@ static const char *const four_hundred[] = { | |||
78 | "Gone", | 97 | "Gone", |
79 | "Length Required", | 98 | "Length Required", |
80 | "Precondition Failed", | 99 | "Precondition Failed", |
81 | "Request Entity Too Large", | 100 | "Payload Too Large", |
82 | "Request-URI Too Large", | 101 | "URI Too Long", |
83 | "Unsupported Media Type", | 102 | "Unsupported Media Type", |
84 | "Requested Range Not Satisfiable", | 103 | "Range Not Satisfiable", |
85 | "Expectation Failed", | 104 | "Expectation Failed", |
86 | "Unknown", | 105 | "Unknown", |
87 | "Unknown", | 106 | "Unknown", |
88 | "Unknown", /* 420 */ | 107 | "Unknown", /* 420 */ |
89 | "Unknown", | 108 | "Misdirected Request", |
90 | "Unprocessable Entity", | 109 | "Unprocessable Entity", |
91 | "Locked", | 110 | "Locked", |
92 | "Failed Dependency", | 111 | "Failed Dependency", |
93 | "Unordered Collection", | 112 | "Unordered Collection", |
94 | "Upgrade Required", | 113 | "Upgrade Required", |
95 | "Unknown", | 114 | "Unknown", |
96 | "Unknown", | 115 | "Precondition Required", |
97 | "Unknown", | 116 | "Too Many Requests", |
98 | "Unknown", /* 430 */ | 117 | "Unknown", /* 430 */ |
99 | "Unknown", | 118 | "Request Header Fields Too Large", |
100 | "Unknown", | 119 | "Unknown", |
101 | "Unknown", | 120 | "Unknown", |
102 | "Unknown", | 121 | "Unknown", |
@@ -128,9 +147,10 @@ static const char *const five_hundred[] = { | |||
128 | "HTTP Version Not Supported", | 147 | "HTTP Version Not Supported", |
129 | "Variant Also Negotiates", | 148 | "Variant Also Negotiates", |
130 | "Insufficient Storage", | 149 | "Insufficient Storage", |
131 | "Unknown", | 150 | "Loop Detected", |
132 | "Bandwidth Limit Exceeded", | 151 | "Bandwidth Limit Exceeded", |
133 | "Not Extended" | 152 | "Not Extended", |
153 | "Network Authentication Required" | ||
134 | }; | 154 | }; |
135 | 155 | ||
136 | 156 | ||