cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1799768 ] Need an option to disable the POST > GET conversion on a 301

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 21 Sep 2007 09:53:13 -0700

Bugs item #1799768, was opened at 2007-09-21 11:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1799768&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: new feature request
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Philip Langdale (philipl)
Assigned to: Daniel Stenberg (bagder)
Summary: Need an option to disable the POST > GET conversion on a 301

Initial Comment:
Right now, libcurl will unconditionally converts POSTs to GETs when following a 301 redirection.

Unfortunately, my current work requires me to deal with a server that only accepts POSTs but will issue a 301 to redirect from regular to ssl traffic.

I have written the attached patch to make the conversion optional (and on by default) and I'm using it in my local copy of libcurl. But I hope it can be accepted upstream.

Thanks.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1799768&group_id=976
Received on 2007-09-21

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET