computer networks week 2 homwork

Question Description

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?
  • Get your college paper done by experts

    Do my question How much will it cost?

    Place an order in 3 easy steps. Takes less than 5 mins.

    0 replies

    Leave a Reply

    Want to join the discussion?
    Feel free to contribute!

    Leave a Reply

    Your email address will not be published. Required fields are marked *