Why does the HTTP GET command GET http://www.cs.princeton.edu/index.html HTTP/1.1 contain the name of the server being contacted?
Question:
Why does the HTTP GET command GET http://www.cs.princeton.edu/index.html HTTP/1.1 contain the name of the server being contacted? Would the server not already know its name? Use Telnet, as in Exercise 14, to connect to port 80 of an HTTP server and find out what happens if you leave the host name out.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Computer Networks A Systems Approach
ISBN: 9780128182000
6th Edition
Authors: Larry L. Peterson, Bruce S. Davie
Question Posted: