ruby on rails - What's the usage for Host header in http? -
in http protocol, saw have host header, like
host: www.google.com:3333
what's usage header? why need header?
when http request hits server, hits ip/port combination. header shows host requested.
many machines serve multiple hosts same ip. without header, wouldn't know host requested.
ruby-on-rails apache http rest tomcat
No comments:
Post a Comment