The main difference between HTTP/1.0 and HTTP/1.1 is that HTTP/1.1 has a mandatory Host Header in it. (Source: HTTP Pocket Reference - o'reilly)
So, why is that wget, which uses HTTP/1.0 protocol has host header in it?
My Output of wget with netcat
GET / HTTP/1.0
User-Agent: Wget/1.12 (linux-gnu)
Accept: */*
Host: 127.0.0.1:10101
Connection: Keep-Alive
As it is clear that wget uses HTTP/1.0 protocol version. How can it has Host header in it. Or am i getting somewhere wrong with my understanding of HTTP protocol?
And even if HTTP/1.0 can has Host Header in its HTTP request, what can be the reason behind wget using HTTP/1.0 protocol while HTTP/1.1 can also be used in place of that?