1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04: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 aa321374ec
commit c520fd5a98

View File

@ -1248,7 +1248,7 @@ static int _handle_gopher_compatible(client_queue_t *node)
return 0; 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(); parser = httpp_create_parser();
httpp_initialize(parser, NULL); httpp_initialize(parser, NULL);