Commit c520fd5a authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Update: Ask for text/plain for gopher clients

parent aa321374
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment