change HTTP Version to a valid version

This commit is contained in:
HyShai 2018-12-14 01:51:54 -05:00 committed by GitHub
parent 5cb603983e
commit 76268773b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ icy_server_metadata_header(const char *name,
const char *genre, const char *url, const char *genre, const char *url,
const char *content_type, int metaint) const char *content_type, int metaint)
{ {
return FormatString("ICY 200 OK\r\n" return FormatString("HTTP/1.1 200 OK\r\n"
"icy-notice1:<BR>This stream requires an audio player!<BR>\r\n" /* TODO */ "icy-notice1:<BR>This stream requires an audio player!<BR>\r\n" /* TODO */
"icy-notice2:MPD - The music player daemon<BR>\r\n" "icy-notice2:MPD - The music player daemon<BR>\r\n"
"icy-name: %s\r\n" /* TODO */ "icy-name: %s\r\n" /* TODO */