add http status code 201 to show the right status message in return headers (#402)
This commit is contained in:
parent
5b51aa6851
commit
ced4160d05
@ -1599,6 +1599,7 @@ inline const char *status_message(int status) {
|
|||||||
switch (status) {
|
switch (status) {
|
||||||
case 100: return "Continue";
|
case 100: return "Continue";
|
||||||
case 200: return "OK";
|
case 200: return "OK";
|
||||||
|
case 201: return "Created";
|
||||||
case 202: return "Accepted";
|
case 202: return "Accepted";
|
||||||
case 204: return "No Content";
|
case 204: return "No Content";
|
||||||
case 206: return "Partial Content";
|
case 206: return "Partial Content";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user