host header duplication in 1.9.1

2005-03-14 Thread John Andrea
I'm trying to connect to a virtual host even though the DNS does not point to that host. I believe this should work if I specify the ip address of the host and then use the Host: header within the request. A test with telnet tells me that this works. However with wget 1.9.1 I see from the debug

Wget Lib

2005-03-14 Thread Leonid
I love wget, but nevertheless, should acknowledge that in my view wget is not designed to be used as a library. Unless you are willing to make a massive wget update, I suggest you first to look at curl ( http://curl.haxx.se/ ) Leonid