fixup extend docs

This commit is contained in:
Daniel Stenberg 2025-02-28 16:29:13 +01:00
parent a968b2ecdc
commit 8d3f947df6
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -88,6 +88,10 @@ change PUT etc - and therefore also not when libcurl issues a custom PUT. A
303 response makes it switch to GET independently of the original method
(except for HEAD).
To control for which of the 301/302/303 status codes libcurl should *not*
switch back to GET for when doing a custom POST, and instead keep the custom
method, use CURLOPT_POSTREDIR(3).
If you prefer a custom POST method to be reset to exactly the method `POST`,
use CURLFOLLOW_FIRSTONLY instead.