Re: CURLOPT_FOLLOWLOCATION and request body
Daniel Stenberg via curl-library <[email protected]>
| Newsgroups | gmane.comp.web.curl.library |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 26 May 2025, Jicea via curl-library wrote: > I'm trying to get information on how libcurl behaves with > CURLOPT_FOLLOWLOCATION and request body. Methods chosen for redirection are > heavily documented, but I want to know how the request body is affected > during redirection: is the initial body transmitted "as it", does libcurl > send an empty body in the following request etc... Fair question with I think a fairly simple answer. I made it as a PR: https://github.com/curl/curl/pull/17454 "When libcurl switches method to GET, it then uses that method without sending any request body." -- / daniel.haxx.se || https://rock-solid.curl.dev -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html