mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-18 10:59:45 +00:00
Added string defs for 301 and 302 codes in status_code_to_str()
This commit is contained in:
1 parent
fa351959a0
commit
47b92e4145
1 file changed
+2
@@ -521,6 +521,8 @@ static const char *status_code_to_str(int status_code) {
|
||||
case 200: return "OK";
|
||||
case 201: return "Created";
|
||||
case 204: return "No Content";
|
||||
case 301: return "Moved Permanently";
|
||||
case 302: return "Found";
|
||||
case 304: return "Not Modified";
|
||||
case 400: return "Bad Request";
|
||||
case 403: return "Forbidden";
|
||||
|
||||
Reference in new issue
Block a user