diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-05-24 10:09:02 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-05-24 10:09:02 +0000 |
commit | c24b4268819bf3faa6d786fc140219d62e6e2430 (patch) | |
tree | 74625f3f8716d5b4146a1cf6e964cd75129879e1 /content/fetchers | |
parent | 5979083a161d36013dadb8d13a569b99d4530352 (diff) | |
download | netsurf-c24b4268819bf3faa6d786fc140219d62e6e2430.tar.gz netsurf-c24b4268819bf3faa6d786fc140219d62e6e2430.tar.bz2 |
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
Diffstat (limited to 'content/fetchers')
-rw-r--r-- | content/fetchers/fetch_curl.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 |