Getting HEAD of the redirect message
Nigel Horne <[email protected]> Mon, 16 Aug 2010 09:35:40 +0100
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Organization | http://www.bandsman.co.uk |
| Message-ID | <[email protected]> |
How do I get the HEAD of the redirect message using the HEAD(1p) command? For example: HEAD http://www.ccdb.org.au/ gives you the header of the site you've redirected to, HEAD -S http://www.ccdb.org.au/ says: HEAD http://www.ccdb.org.au/ --> 302 Moved Temporarily HEAD http://www.ccdb.org.au/xzt25b9/ --> 200 OK Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Connection: close ... Which doesn't help me, because the command hasn't actually printed the contents of the first header :-( -Nigel -- Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter. NJH Music, ICQ#20252325, twitter: @nigelhorne [email protected] http://www.bandsman.co.uk