-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian wrote:
> What is the method of determining, for instance, that a file is a pdf?
> It's not always the case that a file that is a pdf ends in .pdf. Is it
> possible to download just header information in order to get the mime
> type of a file, and then choose whether or not to download the file?

See https://savannah.gnu.org/bugs/index.php?20378

Note that such checks necessitate extra queries to the server, in order
to determine the content-type before requesting a full download.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
GNU Maintainer: wget, screen, teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl9G68ACgkQ7M8hyUobTrHLnQCfb63M+3xg9U1NGbIj//ooqCWx
bIQAn0cjPmwQvgElqxQ1nINFORrG8ac9
=QQwz
-----END PGP SIGNATURE-----


Reply via email to