in reply to Re: WWW::Mechanize and PDF filesin thread WWW::Mechanize and PDF files
This is a much better solution, since that's exactly what the HEAD request is for. I can't believe I forgot about it!