Question: Primitive web browser: (a) You will use telnet to implement the most primitive web browser and hand-code a protocol, HTTP. Use the telnet function from
Primitive web browser: (a) You will use telnet to implement the most primitive web browser and hand-code a protocol, HTTP. Use the telnet function from your MacOS or Linux command line.
$ telnet example.com 80
and then type or copy-paste the following commands - be sure to type a blank line (hit return) at the end.
GET / HTTP/1.1 Host: example.com
What do you see? What is content and what are headers? (b) Try the curl command to fetch the same page and compare.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
