Commit 9395119f authored by Philipp Schafft's avatar Philipp Schafft 🦁

Update: Ask for text/plain for gopher clients

parent 5355017a
Pipeline #229 passed with stage
in 44 seconds
......@@ -1090,7 +1090,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