Question
2. (i) [3] Consider an HTTP client that wants to retrieve a web document at a given URL. The IP address of the HTTP server
2. (i) [3] Consider an HTTP client that wants to retrieve a web document at a given URL. The IP address of the HTTP server is initially unknown. What transport and application layer protocols besides HTTP are needed in this scenario?
(ii) [5] Given the following HTTP request message: GET /docs/index.html HTTP/1.1 Host: www.nowhere123.com Accept: image/gif, image/jpeg, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Connection:keep-alive (a) What is the URL of the document requested by the browser? (b) What version of HTTP is the browser running? (c) Does the browser request a non-persistent or a persistent connection? (d) What is the IP address of the host on which the browser is running? (e) What type of browser initiates this message?
(iii) [5] Write the purposes of the following HTTP request methods: GET, POST, HEAD, PUT and DELETE .
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started