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
This commit is contained in:
John Mark Bell 2008-05-24 10:09:02 +00:00
parent 5979083a16
commit c24b426881
1 changed files with 0 additions and 1 deletions

View File

@ -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