Hi,

On Wed, Dec 19, Jonathan Matthews wrote:
> On Wed, 19 Dec 2018 at 19:23, UPPALAPATI, PRAVEEN <[email protected]> wrote:
> >
> > Hmm. Wondering why do we need host header? I was able to do curl without 
> > the header. I did not find anything in the doc.
> 
> "curl" automatically adds a Host header unless you are directly
> hitting an IP address.

Even curl [-v] http://ip.add.re.ss adds host header (Host:
ip.add.re.ss). (At least the version I'm using (the one that comes with
centos 7.6)).

-Jarno

-- 
Jarno Huuskonen

Reply via email to