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:
parent
aa321374ec
commit
c520fd5a98
@ -1248,7 +1248,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);
|
||||
|
Loading…
Reference in New Issue
Block a user