On Mon, Feb 20, 2006 at 05:32:10PM +0100, Tollef Fog Heen wrote: > > Ew. So we don't support mirrors which don't provide indices? Why not > just do a HEAD request instead? (Yes, wget doesn't support it yet, > but that would be a much nicer way to do it and should be easy enough > to fix.) $ lynx -head -dump http://ftp.nl.debian.org/debian/dists/testing/main/binary-i386/Packages.gz HTTP/1.1 200 OK Date: Mon, 20 Feb 2006 18:03:00 GMT Server: Apache/2.0.54 (Debian GNU/Linux) mod_perl/1.999.21 Perl/v5.8.4 Last-Modified: Sun, 19 Feb 2006 20:25:36 GMT ETag: "d1859-398c90-94ad9000" Accept-Ranges: bytes Content-Length: 3771536 Connection: close Content-Type: text/plain; charset=ISO-8859-1 Content-Encoding: gzip $ lynx -head -dump http://mir:9999/debian/dists/testing/main/binary-i386/Packages.gz HTTP/1.0 501 Not Implemented Connection: close Where "mir:9999" is an apt-proxy server. GSt
Attachment:
signature.asc
Description: Digital signature