diff --git a/checkin_notes b/checkin_notes index db50fedfa9..49cba44ef1 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2899,3 +2899,11 @@ David April 1 2008 cs_scheduler.C lib/ coproc.C,h + +Rom April 1 2008 + - client: Per Carl's recommendation add CURLOPT_POST301 to the + list of curl options used so that the followups to redirects + still post instead of get. + + client/ + http_curl.C diff --git a/client/http_curl.C b/client/http_curl.C index 665eb438e8..a8d67590ed 100644 --- a/client/http_curl.C +++ b/client/http_curl.C @@ -416,6 +416,7 @@ int HTTP_OP::libcurl_exec( curlErr = curl_easy_setopt(curlEasy, CURLOPT_MAXREDIRS, 50L); curlErr = curl_easy_setopt(curlEasy, CURLOPT_AUTOREFERER, 1L); curlErr = curl_easy_setopt(curlEasy, CURLOPT_FOLLOWLOCATION, 1L); + curlErr = curl_easy_setopt(curlEasy, CURLOPT_POST301, 1L); // if we tell Curl to accept any encoding (e.g. deflate) // it seems to accept them all, which screws up projects that