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, 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.