Skip to content
  • Daniel Stenberg's avatar
    - Martin Drasar provided the CURLOPT_POSTREDIR patch. It renames · 18110b51
    Daniel Stenberg authored
      CURLOPT_POST301 (but adds a define for backwards compatibility for you who
      don't define CURL_NO_OLDIES). This option allows you to now also change the
      libcurl behavior for a HTTP response 302 after a POST to not use GET in the
      subsequent request (when CURLOPT_FOLLOWLOCATION is enabled). I edited the
      patch somewhat before commit. The curl tool got a matching --post302
      option. Test case 1076 was added to verify this.
    18110b51