Consider the following string of ASCII characters that were captured by Ethereal
ID: 3626251 • Letter: C
Question
Consider the following string of ASCII characters that were captured by Ethereal when the browser sent and HTTP GET message(i.e.,this is the actual content of an HTTP GET message.)The characters<cr><lf>are carriage return and line-feed characters(that is,the italized charavter string <cr>in the text below represents the single carriage-return character that was contained at that point in the HTTP header).Answer the following questions,indicating where in the HTTP GET message below you find the answer.
a. Dose the browser request a non-persistent or a persistent connection?
b. What is the URL of the document requested by the browser?
c. What version of HTTP is the browser running?
d. What is the IP address of the host on which the browser is running?
Explanation / Answer
Hi, You didn't provide the http header. Answer are dependent on header but i have provided how you will get. a. Dose the browser request a non-persistent or a persistent connection? if Connection: Keep-Alive is present then it is persistent otherwise it is non-persistent. b. What is the URL of the document requested by the browser? Field present in header after get request. GET: hostname/ url c. What version of HTTP is the browser running? It must be present in starting. HTTP 1.0 or HTTP 1.1 d. What is the IP address of the host on which the browser is running? It must be present in IP header. See the ip header and source address.