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

Update: Announce support for OPTIONS

This commit is contained in:
Philipp Schafft 2018-06-16 11:12:20 +00:00
parent 0bb65ed090
commit d1dbc561ac

View File

@ -767,7 +767,7 @@ ssize_t util_http_build_header(char * out, size_t len, ssize_t offset,
config->server_id, config->server_id,
connection_header, connection_header,
(client && client->admin_command == ADMIN_COMMAND_ERROR ? (client && client->admin_command == ADMIN_COMMAND_ERROR ?
"GET, SOURCE" : "GET"), "GET, SOURCE, OPTIONS" : "GET, OPTIONS"),
upgrade_header, upgrade_header,
currenttime_buffer, currenttime_buffer,
contenttype_buffer, contenttype_buffer,