cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] Make conversion of POST to GET after 301 optional

From: Philip Langdale <philipl_at_overt.org>
Date: Fri, 21 Sep 2007 17:18:48 -0400

Hi all,

I understand that this was discussed in the relatively recent past but with not
firm decision made. I hope the fact that I've got a patch for it will help move
things forward. :-)

I'm in a situation where I have to deal with a server that won't accept GETs (custom
implementation for a web services API) but it redirects non-ssl traffic to ssl with
a 301.

As such, things fail rather miserably. I don't have the ability to change how the
server works so I have to cope with this on the client side. As such, I put together
a patch to add an option to turn the conversion step off.

https://sourceforge.net/tracker/?func=detail&aid=1799768&group_id=976&atid=350976

I hope that this can get accepted upstream or I'm simply going to have to maintain
a custom build of libcurl for my client.

Thanks,

--phil
Received on 2007-09-21