cURL / Mailing Lists / curl-library / Single Mail

curl-library

libcurl and HTTP 307 re-directs

From: Apurva Mehta <apurva_at_mathmeth.com>
Date: Thu, 14 May 2009 14:38:19 -0700

Hello, I am curious about the way libcurl handles 307 Temporary
Redirects from a webserver during an HTTP PUT. I have noticed that if
I specify a FILE* as an argument to CURLOPT_READDATA, the contents
of the file are not being sent on the redirect attempts. Are there
some special settings I need to set for the file contents to be
re-sent on subsequent attempts?

Thanks,
Apurva
Received on 2009-05-14