Skip to content
  1. Sep 30, 2007
  2. Sep 29, 2007
  3. Sep 28, 2007
  4. Sep 27, 2007
  5. Sep 26, 2007
    • Daniel Stenberg's avatar
      we added a curl_easy_setopt() option too · 9b550564
      Daniel Stenberg authored
      9b550564
    • Daniel Stenberg's avatar
      Philip Langdale provided the new CURLOPT_POST301 option for · fd4cf78f
      Daniel Stenberg authored
      curl_easy_setopt() that alters how libcurl functions when following
      redirects. It makes libcurl obey the RFC2616 when a 301 response is received
      after a non-GET request is made. Default libcurl behaviour is to change
      method to GET in the subsequent request (like it does for response code 302
      - because that's what many/most browsers do), but with this CURLOPT_POST301
      option enabled it will do what the spec says and do the next request using
      the same method again. I.e keep POST after 301.
      
      The curl tool got this option as --post301
      
      Test case 1011 and 1012 were added to verify.
      fd4cf78f
    • Daniel Stenberg's avatar
      Max Katsev reported that when doing a libcurl FTP request with · a6315359
      Daniel Stenberg authored
      CURLOPT_NOBODY enabled but not CURLOPT_HEADER, libcurl wouldn't do TYPE
      before it does SIZE which makes it less useful. I walked over the code and
      made it do this properly, and added test case 542 to verify it.
      a6315359