I learned you could use telnet to download a webpage(making http request), like
telnet www.example.com 80
GET HTTP / HTTP/1.1
HOST: www.example.com
then the output would be an html source page or something.
My question is if we had specified www.example.com when initializing the telnet request in
telnet www.example.com 80
why do we still need to specify that again in
HOST: www.example.com
?
Thanks guys!