curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: CURLOPT_FOLLOWLOCATION and request body

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 26 May 2025 11:56:42 +0200 (CEST)

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
Received on 2025-05-26