Added string defs for 301 and 302 codes in status_code_to_str()

This commit is contained in:
Sergey Lyubka committed 2014-01-09 17:24:20 +00:00
1 parent fa351959a0
commit 47b92e4145
1 file changed
+2
+2
View File
@@ -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";