Loading lib/http.c +1 −1 Original line number Diff line number Diff line Loading @@ -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) || Loading tests/data/test1 +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ http://%HOSTIP:%HOSTPORT/1 GET /1 HTTP/1.1 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: */* </protocol> </verify> tests/data/test10 +1 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ the PUT /we/want/10 HTTP/1.1 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: */* Content-Length: 78 Weird Loading tests/data/test11 +2 −2 Original line number Diff line number Diff line Loading @@ -56,12 +56,12 @@ http://%HOSTIP:%HOSTPORT/want/11 -L GET /want/11 HTTP/1.1 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: */* GET /want/data/110002.txt?coolsite=yes HTTP/1.1 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: */* </protocol> </verify> tests/data/test12 +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ GET /want/12 HTTP/1.1 Range: bytes=100-200 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: */* </protocol> </verify> Loading
lib/http.c +1 −1 Original line number Diff line number Diff line Loading @@ -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) || Loading
tests/data/test1 +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ http://%HOSTIP:%HOSTPORT/1 GET /1 HTTP/1.1 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: */* </protocol> </verify>
tests/data/test10 +1 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ the PUT /we/want/10 HTTP/1.1 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: */* Content-Length: 78 Weird Loading
tests/data/test11 +2 −2 Original line number Diff line number Diff line Loading @@ -56,12 +56,12 @@ http://%HOSTIP:%HOSTPORT/want/11 -L GET /want/11 HTTP/1.1 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: */* GET /want/data/110002.txt?coolsite=yes HTTP/1.1 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: */* </protocol> </verify>
tests/data/test12 +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ GET /want/12 HTTP/1.1 Range: bytes=100-200 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: */* </protocol> </verify>