<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>HTTP Methods and Redirect Status Codes</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/08/19/understanding-the-impact-of-redirect-response-status-codes-on-http-methods-like-head-get-post-and-delete.aspx</link><description>This crossed my Twitter stream earlier today: 
 
 
 
 I&amp;rsquo;m not sure why we need a public service announcement to notify folks that Internet Explorer is behaving properly, but I guess there&amp;rsquo;s no harm in that. However, based on the lack of</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: HTTP Methods and Redirect Status Codes</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/08/19/understanding-the-impact-of-redirect-response-status-codes-on-http-methods-like-head-get-post-and-delete.aspx#10425064</link><pubDate>Tue, 11 Jun 2013 10:31:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10425064</guid><dc:creator>Bikram</dc:creator><description>&lt;p&gt;By Fiddler I have verified. it is getting the 307 status code. I have both the request i.e. original POST request and the Redirected POST request, both are having the same header except the request method. Because of this I am losing the POST parameters. the same thing is working on Firefox and Chrome.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EricLaw: &lt;/strong&gt;Please email me a repro URL. Use Help &amp;gt; About in Fiddler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10425064" width="1" height="1"&gt;</description></item><item><title>re: HTTP Methods and Redirect Status Codes</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/08/19/understanding-the-impact-of-redirect-response-status-codes-on-http-methods-like-head-get-post-and-delete.aspx#10422711</link><pubDate>Fri, 31 May 2013 18:20:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10422711</guid><dc:creator>Bikram</dc:creator><description>&lt;p&gt;My application initiates a POST request from JavaScript and the server sends a redirect new url and code 307. &amp;nbsp;IE even though receieves 307, it initiates a GET request. Why?? Where I could have gone wrong?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EricLaw: &lt;/strong&gt;Please provide a repro URL? Did you verify using Fiddler that it&amp;#39;s really returning a 307?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10422711" width="1" height="1"&gt;</description></item><item><title>re: HTTP Methods and Redirect Status Codes</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/08/19/understanding-the-impact-of-redirect-response-status-codes-on-http-methods-like-head-get-post-and-delete.aspx#10384439</link><pubDate>Sat, 12 Jan 2013 11:45:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10384439</guid><dc:creator>Merc</dc:creator><description>&lt;p&gt;Hi, I am&amp;nbsp;using a 307 redirect in a htaccess file, like&amp;nbsp;this:&lt;/p&gt;
&lt;p&gt;RewriteRule ^add/(.*)/$ /_ucp/moduls/$1/add/add.php [L,R=307]&lt;/p&gt;
&lt;p&gt;your browser now sends a post request, recives a 307 and then starts a GET request with the new URL. I tracked it in the F12 developer tools, any tipps, explanations ?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EricLaw: &lt;/strong&gt;This seems more likely to either be a DevTools bug (a POST is really sent) or a bug in your server (you&amp;#39;re not really sending a 307). Please email me (using Help &amp;gt; Send Feedback in Fiddler)&amp;nbsp;a SAZ file captured using Fiddler that demonstrates this problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10384439" width="1" height="1"&gt;</description></item><item><title>re: HTTP Methods and Redirect Status Codes</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/08/19/understanding-the-impact-of-redirect-response-status-codes-on-http-methods-like-head-get-post-and-delete.aspx#10204948</link><pubDate>Fri, 02 Sep 2011 08:28:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10204948</guid><dc:creator>Julian Reschke</dc:creator><description>&lt;p&gt;HTTPbis draft 17 will *allow* rewriting of POST (and only POST) to GET for the status codes 301 and 302. See &lt;a rel="nofollow" target="_new" href="http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1428"&gt;trac.tools.ietf.org/.../1428&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10204948" width="1" height="1"&gt;</description></item><item><title>re: HTTP Methods and Redirect Status Codes</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/08/19/understanding-the-impact-of-redirect-response-status-codes-on-http-methods-like-head-get-post-and-delete.aspx#10198102</link><pubDate>Sat, 20 Aug 2011 14:08:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10198102</guid><dc:creator>Julian Reschke</dc:creator><description>&lt;p&gt;HTTPbis WG issue: &lt;a rel="nofollow" target="_new" href="http://trac.tools.ietf.org/wg/httpbis/trac/ticket/160"&gt;trac.tools.ietf.org/.../160&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The current plan is to keep the definitions of 301/302, except by noting that rewriting POST-to-GET is ok (ut not for other methods).&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10198102" width="1" height="1"&gt;</description></item><item><title>re: HTTP Methods and Redirect Status Codes</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/08/19/understanding-the-impact-of-redirect-response-status-codes-on-http-methods-like-head-get-post-and-delete.aspx#10198014</link><pubDate>Sat, 20 Aug 2011 00:00:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10198014</guid><dc:creator>EricLaw [ex-MSFT]</dc:creator><description>&lt;p&gt;@Aseem: I&amp;#39;m interested to see what HTTPBIS specifies&amp;nbsp;here. The current behavior of preserving the method is spec-compliant and it has been this way for over a decade.&lt;/p&gt;
&lt;p&gt;While matching behavior is appealing, the notion that a 301 or 302 response should turn a HEAD into a GET doesn&amp;#39;t make much sense to me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10198014" width="1" height="1"&gt;</description></item><item><title>re: HTTP Methods and Redirect Status Codes</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/08/19/understanding-the-impact-of-redirect-response-status-codes-on-http-methods-like-head-get-post-and-delete.aspx#10198011</link><pubDate>Fri, 19 Aug 2011 23:55:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10198011</guid><dc:creator>Aseem</dc:creator><description>&lt;p&gt;Thanks for the clarification. Just out of curiosity, was this a candidate for changing in IE9 or IE10 simply for compatibility w/ all other modern browsers? (E.g. maybe just in IE9/IE10 standards modes?)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10198011" width="1" height="1"&gt;</description></item><item><title>re: HTTP Methods and Redirect Status Codes</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/08/19/understanding-the-impact-of-redirect-response-status-codes-on-http-methods-like-head-get-post-and-delete.aspx#10197948</link><pubDate>Fri, 19 Aug 2011 19:57:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10197948</guid><dc:creator>Pebe</dc:creator><description>&lt;p&gt;Mozilla bug tracker entry for this: &lt;a rel="nofollow" target="_new" href="https://bugzilla.mozilla.org/show_bug.cgi?id=598304"&gt;bugzilla.mozilla.org/show_bug.cgi&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10197948" width="1" height="1"&gt;</description></item><item><title>re: HTTP Methods and Redirect Status Codes</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/08/19/understanding-the-impact-of-redirect-response-status-codes-on-http-methods-like-head-get-post-and-delete.aspx#10197945</link><pubDate>Fri, 19 Aug 2011 19:51:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10197945</guid><dc:creator>Michael Edgar</dc:creator><description>&lt;p&gt;&lt;em&gt;Hi Eric, you&amp;#39;ve pulled out the &amp;quot;Note&amp;quot; on the definition of 302 to explain IE9&amp;#39;s behavior, but you left out the immediately preceding sentence:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-family:courier new,courier;"&gt;&amp;quot;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.&amp;quot;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;While the developer was wrong in relying on DELETE&amp;#39;s conversion to GET on a 302, IE9 is still wrong in not requiring confirmation. Cheers, Mike&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;[&lt;strong&gt;EricLaw&lt;/strong&gt;: Hi, Mike! You should probably go ahead and read the &lt;em&gt;entire&lt;/em&gt; post. There&amp;#39;s an entire section on that topic. Thanks! ]&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10197945" width="1" height="1"&gt;</description></item></channel></rss>