cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-621576 ] don't honor redirect on PUT/POST

From: <noreply_at_sourceforge.net>
Date: Thu, 10 Oct 2002 14:17:13 -0700

Bugs item #621576, was opened at 2002-10-10 16:17
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=621576&group_id=976

Category: http
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeff Lawson (bovineone)
Assigned to: Daniel Stenberg (bagder)
Summary: don't honor redirect on PUT/POST

Initial Comment:
In accordance with RFC 2616, section 10.3.3:

   If the 302 status code is received in response to a
request other
   than GET or HEAD, the user agent MUST NOT
automatically redirect the
   request unless it can be confirmed by the user, since
this might
   change the conditions under which the request was
issued.

Automatically redirecting on a PUT/POST, for example,
should be disallowed. Currently if
CURLOPT_FOLLOWLOCATION is set, cURL will
redirect on those.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=621576&group_id=976

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-10