Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions