cURL / Mailing Lists / curl-library / Single Mail


libcurl and HTTP 307 re-directs

From: Apurva Mehta <>
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?

Received on 2009-05-14