1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Update: Added names for HTTP status codes 30x.

This commit is contained in:
Philipp Schafft 2018-08-15 10:41:19 +00:00
parent ed78741e3d
commit 6656edacad

View File

@ -715,6 +715,14 @@ ssize_t util_http_build_header(char * out, size_t len, ssize_t offset,
case 200: statusmsg = "OK"; break;
case 204: statusmsg = "No Content"; break;
case 206: statusmsg = "Partial Content"; http_version = "1.1"; break;
case 300: statusmsg = "Multiple Choices"; break;
case 301: statusmsg = "Moved Permanently"; break;
case 302: statusmsg = "Found"; break;
case 303: statusmsg = "See Other"; break;
case 304: statusmsg = "Not Modified"; break;
case 305: statusmsg = "Use Proxy"; break;
case 307: statusmsg = "Temporary Redirect"; break;
case 308: statusmsg = "Permanent Redirect"; break;
case 400: statusmsg = "Bad Request"; break;
case 401: statusmsg = "Authentication Required"; break;
case 403: statusmsg = "Forbidden"; break;