Re: when redirect POST is changed to GET even with curl_easy_setopt(m_curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL)
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,
> CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL).
> 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).
-- / daniel.haxx.seReceived on 2009-04-14