bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#701: 23.0.60; url-http.el package should not rewrite POST to GET upo


From: thomas weidner
Subject: bug#701: 23.0.60; url-http.el package should not rewrite POST to GET upon 301 reply
Date: Tue, 12 Aug 2008 14:59:03 +0200

Hi,

when a 301 reply in url-http.el is received, requests other than GET
and HEAD are also rewritten to a GET request to the new location. This
is nearly always not what the user of the library
intended. (i.e. posting data to a url results in a GET to the new url
and the posted data is lost) The authors of url-http.el are aware of
the issue as some comments in the file show, but i think their
solution is wrong. The current behaviour is even stated as wrong in
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.2
. Some ideas whould be not to issue a new request but leave the 301 to
the user or to issue the SAME request again.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]