On Mon, 26 May 2025, Jeroen Ooms wrote:

Perhaps also worth explaining that libcurl will then error if the body was given via CURLOPT_READFUNCTION because it can only be consumed once?

... if you don't implement the seek callback, yes.

I just feel that we can't get into that in the CURLOPT_FOLLOWLOCATION page without it becoming a little messy. I believe those details are better documented in the CURLOPT_READFUNCTION page.

--

 / daniel.haxx.se || https://rock-solid.curl.dev
--
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to