On Wed, Sep 30, 2009 at 10:21:28PM +0200, gregor herrmann wrote: > On Wed, 30 Sep 2009 12:07:46 -0700, John H. Robinson, IV wrote: > > > The DNS resolver in lwp-request is doing odd things: > > lwp-request -m HEAD libraries will bring up libraries.com > > lwp-request -m HEAD http://libraries will bring up libraries.ucsd.edu > > (I am in the uscd.edu domain) > > There's indeed some interesting magic going on:
This is very much a feature, although the documentation seems to be lacking. >From the upstream changelog: Thu Nov 6 1997 Gisle Aas <a...@sn.no> o Release 5.15 o New module URI::Heuristic o The lwp-request script now use URI::Heuristic for it's URL arguments. It means that 'lwp-request perl' will not get a file called "./perl" but will fetch the page "http://www.perl.com" or something similar. If you want to get the file you have to prefix it with "./". Full URLs are never affected by this. -- Niko Tyni nt...@debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org