From c24b4268819bf3faa6d786fc140219d62e6e2430 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 24 May 2008 10:09:02 +0000 Subject: No longer suppress the default Accept: header. This fixes all those sites that brokenly assume that it's required and thus break when the client doesn't send one (here's looking at you royalmail.com). libcurl's default Accept header is "*/*", which is semantically equivalent to not sending a header at all (no header implies the client accepts all content types). svn path=/trunk/netsurf/; revision=4196 --- content/fetchers/fetch_curl.c | 1 - 1 file changed, 1 deletion(-) (limited to 'content/fetchers/fetch_curl.c') diff --git a/content/fetchers/fetch_curl.c b/content/fetchers/fetch_curl.c index 9ad86a170..68f35282e 100644 --- a/content/fetchers/fetch_curl.c +++ b/content/fetchers/fetch_curl.c @@ -368,7 +368,6 @@ void * fetch_curl_setup(struct fetch *parent_fetch, const char *url, list = slist; /* remove curl default headers */ - APPEND(fetch->headers, "Accept:"); APPEND(fetch->headers, "Pragma:"); /* when doing a POST libcurl sends Expect: 100-continue" by default -- cgit v1.2.3