How can I test my browser ignoring Location headers?
I want to test a site with my Firefox ignoring Location:
head开发者_如何学Pythoners like this example in PHP.
header('Location: another-page.php');
Is there a plugin available to do this, or any other method?
Would my best bet be surfing the site with Lynx? Does Lynx ignore them?
Thanks
You could try bringing up the pages with cURL.
It is a command line application that is invoked via:
curl http://url
cURL does not follow Location:
headers by default.
精彩评论