in reply to WWW::Mechanize and PDF files

I'm not particularly familiar with WWW:Mechanize, but you can always use the Range HTTP header to specify a small number of bytes: e.g. Range: bytes=0-9