cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 14 Apr 2009 20:00:51 +0200 (CEST)

On Tue, 14 Apr 2009, David Ding wrote:

Please don't top-post: http://curl.haxx.se/mail/etiquette.html

> Sorry for forgetting to mention that. The HTTP response code is 302. We are
> using curl-7.19.4. How can we keep POST in case of redirect (302)?

Test case 1076 verifies this functionality. Can you modify the test to repeat
the behavior you see?

-- 
  / daniel.haxx.se
Received on 2009-04-14