computer networks week 2 homwork

There are four question

Excample: Reading a HTTP Request

The following string of ASCII characters represents an HTTP request. I captured them using a tool called Wireshark when my browser loaded a webpage. The rn indicates a carriage return and newline (the CRLF we discussed).

GET / HTTP/1.1rn Host: web.mit.edurn Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8rn Upgrade-Insecure-Requests: 1rn Cookie: _ga=GA1.2.1058035094.1555112797; _gid=GA1.2.1623662935.1555112797; QSI_HistorySession=http%3A%2F%2Fweb.mit.edu%2F~1555112797274rn Cookie pair: _ga=GA1.2.1058035094.1555112797 Cookie pair: _gid=GA1.2.1623662935.1555112797 Cookie pair: QSI_HistorySession=http%3A%2F%2Fweb.mit.edu%2F~1555112797274 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15rn Accept-Language: en-usrn Accept-Encoding: gzip, deflatern Connection: keep-alivern rn Answer the following questions:

  • What is the URL of the document requested by the browser?
  • What version of HTTP is the browser running?
  • Does the browser request a persistent or non-persistent connection?
  • What is the IP address of my laptop?
  • Is my laptop connected with WiFi or Ethernet?
  • What browser am I using?
  • Why is the browser type needed in an HTTP request message?
  • "Is this question part of your assignment? We can help"

    ORDER NOW