sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #54001
Hvordan kan man "smage" på en URL (hente første 256 bytes)
Hej,
Mit problem er at nogle URL'er referere til nogle PDF filer som jeg ikke
umiddelbart er interesseret i at hente, så jeg kunne godt tænke mig blot
at smage på URL'ens indhold. Blot tilstrækkeligt til at "file" kan
bestemme data typen.
Er der en måde at begrænse længden af det der hentes til f.eks 256
bytes, for så at afgøre om man virkelig er interesseret i URL'en ?
--
Hans Christian Studt mailto:hc@xxxxxxxx http://hc.studt.dk
Free Software is the carrot. Microsoft is the stick.
Linux information
http://linux.studt.dk
.dk og W3C : http://home13.inet.tele.dk/hcstudt/w3c/index.html
Follow ups