- 14
- 0
- 约1.58万字
- 约 9页
- 2021-11-07 发布于山东
- 举报
HomeworkChapter2
《Computer Networks and Internet 》
Chapter 2
1。 Consider the following string of ASCII characters that were captured by Wireshark
when the browser sent an 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 character 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 HTTPGETmessage
below you find the answer 。
GET /cs453/index 。html HTTP/1.1cr 〈lf 〉Host: crlfUser —Agent :
Mozilla/5 。0 (Windows;U; WindowsNT5.1; en-US; rv :1。7。2 ) Gecko Netscape/7.2
(ax ) cr 〉 〈lfAccept:ext/xml , application/xml, application/xhtml+xml , text/html ;q=0。
9, text/plain ;q=0.8 ,image/png ,*/* ;q=0.5 〈cr 〈lfAccept —Language: en-us,en;q=0 。5
〈cr 〉〈 lf 〉Accept —Encoding : zip,deflatecrlfAccept — Charset: ISO —8859-1 ,utf-8 ;
q=0.7,*;q=0.7 〈crlfKeep —Alive : 300crlfConnection :keep— alivecr 〉 〈lf 〉cr 〈lf 〉
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? Why is the browser type needed in
an HTTP request message ?
考虑以下的 ASCII 字符字符串被 Wireshark 当浏览器发送一个 HTTP GET消息 ( 即。,这是一个 HTTP GET消息的实际内容) .
原创力文档

文档评论(0)