cURL / Mailing Lists / curl-library / Single Mail


Re: when redirect POST is changed to GET even with curl_easy_setopt(m_curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL)

From: Daniel Stenberg <>
Date: Tue, 14 Apr 2009 12:26:28 +0200 (CEST)

On Tue, 14 Apr 2009, David Ding wrote:

> We have a application using libcurl to POST message. Whenever there is
> redirect, POST is changed to GET even with: curl_easy_setopt(m_curl,
> Any idea what might be wrong?

Why is this a "wrong" at all? It depends on the HTTP response code (and your
libcurl version of course).

Received on 2009-04-14