curl-users
Host header question
Date: Wed, 7 Jan 2009 17:27:48 -0800 (PST)
Hi
I notice the following difference in behavior between curl 7.19.2 and 7.17.1
With curl 7.19.2
#curl -H "Host:att.com" www.att.com
<HTML><HEAD>
<TITLE>Invalid URL</TITLE>
</HEAD><BODY>
<H1>Invalid URL</H1>
The requested URL "/", is invalid.<p>
Reference #9.ab6a5640.1231376406.0
</BODY></HTML>
whereas with curl 7.17.1, the page is retrieved correctly
Is this a bug fix or a bug that got introduced between 7.17.1 and 7.19.2?
Appreciate your help
FB
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-01-08