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

Update: Ask for text/plain for gopher clients

This commit is contained in:
Philipp Schafft 2018-06-10 11:12:46 +00:00
parent 49f8de1bc4
commit 0d3e853b4a

View File

@ -1224,7 +1224,7 @@ static int _handle_gopher_compatible(client_queue_t *node)
return 0;
}
snprintf(n, n_len, "GET %s HTTP/1.0\r\n\r\n", client->refbuf->data);
snprintf(n, n_len, "GET %s HTTP/1.0\r\nAccept: text/plain,*/*;q=0.9\r\n\r\n", client->refbuf->data);
parser = httpp_create_parser();
httpp_initialize(parser, NULL);