开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜