in reply to Re: Identifying PDF from URLs
in thread Identifying PDF from URLs

Getting the PDF from that scheme might not end up being trivial.
Indeed. In this case it seems HEAD requests are blocked. I tried to fetch the direct link to the pdf with the HEAD script and it returned text/html and "Content-Disposition: filename=404.txt". So it's necessary here probably to use a GET request with LWP::UserAgent and from there read the http headers :-/

Replies are listed 'Best First'.
Re^3: Identifying PDF from URLs
by listanand (Sexton) on May 25, 2010 at 00:23 UTC
    Hi all,

    Thanks for your replies.

    I will try these suggestions later tonight and get back to you.

    Andy