computer networks week 2 homwork.
I’m trying to study for my Computer Science course and I need some help to understand this question.
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: