I need to temporarily disable 302 redirects in Firefox. How can I do this? I tried going to tools>options>advanced>general>checkmark warn me when sites try to redirect or reload the page, but that didn't work, 302 redirects are still followed. Is there anywhere in about:config that I can disable 302 redirects?

link|improve this question
feedback

2 Answers

call about:config and set network.http.redirection-limit to 0. But you won't be able to access the moved page.

link|improve this answer
feedback

Not specific to Firefox, but you could use the Fiddler debugging proxy, and set a breakpoint on the response. Or use a script like (I guess):

oSession.oResponse.headers.Remove("Location");
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.