- Martin Drasar provided the CURLOPT_POSTREDIR patch. It renames
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.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
Curl and libcurl 7.19.1
|
||||
|
||||
Public curl releases: 107
|
||||
Command line options: 127
|
||||
Command line options: 128
|
||||
curl_easy_setopt() options: 154
|
||||
Public functions in libcurl: 58
|
||||
Known libcurl bindings: 36
|
||||
@@ -11,6 +11,7 @@ This release includes the following changes:
|
||||
|
||||
o pkg-config can now show supported_protocols and supported_features
|
||||
o Added CURLOPT_CERTINFO and CURLINFO_CERTINFO
|
||||
o Added CURLOPT_POSTREDIR
|
||||
|
||||
This release includes the following bugfixes:
|
||||
|
||||
@@ -30,6 +31,6 @@ This release would not have looked like this without help, code, reports and
|
||||
advice from friends like these:
|
||||
|
||||
Keith Mok, Yang Tse, Daniel Fandrich, Guenter Knauf, Dmitriy Sergeyev,
|
||||
Linus Nielsen Feltzing
|
||||
Linus Nielsen Feltzing, Martin Drasar
|
||||
|
||||
Thanks! (and sorry if I forgot to mention someone)
|
||||
|
||||
Reference in New Issue
Block a user