Commit 47b92e41 authored by Sergey Lyubka's avatar Sergey Lyubka

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

parent fa351959
...@@ -521,6 +521,8 @@ static const char *status_code_to_str(int status_code) { ...@@ -521,6 +521,8 @@ static const char *status_code_to_str(int status_code) {
case 200: return "OK"; case 200: return "OK";
case 201: return "Created"; case 201: return "Created";
case 204: return "No Content"; case 204: return "No Content";
case 301: return "Moved Permanently";
case 302: return "Found";
case 304: return "Not Modified"; case 304: return "Not Modified";
case 400: return "Bad Request"; case 400: return "Bad Request";
case 403: return "Forbidden"; case 403: return "Forbidden";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment