[thelist] Viewing content of HTML redirect
kasimir-k
kasimir.k.lists at gmail.com
Mon Mar 24 14:22:12 CDT 2008
> On Mon, Mar 24, 2008 at 1:35 PM, Julian Rickards
> <julian.rickards at gmail.com> wrote:
>> If you go to http://ontario.ca/mininglands, there seems to be a bit of a
>> pause as the redirect takes you to
>> http://www.mndm.gov.on.ca/mndm/mines/lands/default_e.asp. It is my belief
>> that the redirect is an HTML redirect (and not a server-based one) because
>> of the pause.
>>
>> Is there anyway of viewing the redirect page before it quickly disappears?
Eduardo Kienetz scribeva in 2008-03-24 19:46:
> If you are on Linux you can run: lynx -dump -source
> http://ontario.ca/mininglands
Which actually doesn't show the original URL's source, but the soure of
http://www.keywords.gov.on.ca/mbs/keywords/keywords.nsf/redirect?readform&kywrd=mininglands
where http://ontario.ca/mininglands directs to.
Using lynx you can get the unredirected source with:
lynx -noredir -source http://ontario.ca/mininglands
And to see the HTTP headers making the redirection you'd:
lynx -source -head http://ontario.ca/mininglands
.k
More information about the thelist
mailing list