Modified the default HTTP Accept: header to only be Accept: */*
This commit is contained in:
@@ -1230,7 +1230,7 @@ CURLcode Curl_http(struct connectdata *conn)
|
||||
http->p_pragma = "Pragma: no-cache\r\n";
|
||||
|
||||
if(!checkheaders(data, "Accept:"))
|
||||
http->p_accept = "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r\n";
|
||||
http->p_accept = "Accept: */*\r\n";
|
||||
|
||||
if(( (HTTPREQ_POST == data->set.httpreq) ||
|
||||
(HTTPREQ_POST_FORM == data->set.httpreq) ||
|
||||
|
||||
Reference in New Issue
Block a user