vronic / chrome-rest-client

Automatically exported from code.google.com/p/chrome-rest-client
0 stars 0 forks source link

Follow Location Header Redirects #48

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install App
2. Send Request to REST end point which returns a 303 along with a Location 
Header.
3. Notice that the Rest Client follows the HTTP redirect.  

What is the expected output? What do you see instead?
Could an enhancement be made in the options dialog box to disable following 
redirects specified in the Location header.

What version of the product are you using? On what operating system?
Latest version as of 2/14/2012

Original issue reported on code.google.com by kevi...@gmail.com on 14 Feb 2012 at 8:00

GoogleCodeExporter commented 8 years ago
Was just about to log this very request. Looks like you beat me by 3 hours.

A suggestion for one additional thing, once the Follow Redirects has been 
turned off, it would be nice to have a button on the response page that allows 
you to follow the redirect after seeing the result.

Oh, and don't forget our friend response code 307.

Original comment by kyan.sk...@smartsheet.com on 14 Feb 2012 at 11:06

GoogleCodeExporter commented 8 years ago
Unfortunately webkit team still has not implemented "followRedirects" flag for 
XMLHttpRequest object. Without this flag it is not possible to correctly 
display results. 
Why? It will return status code from request after redirect. Application will 
not even detect any redirection because there is no event fired when 
redirecting.

Until this flag is not implemented this feature will not be enabled.

Original comment by jarro...@gmail.com on 15 Feb 2012 at 6:01