Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(a) What is the URL of the requested object? (5 marks) (b) Determine the IP address of the web server. You need to provide
(a) What is the URL of the requested object? (5 marks) (b) Determine the IP address of the web server. You need to provide a screen capture to justify how you find the answer. (c) What is the meaning of "Referer" in the HTTP request header? (5 marks) (5 marks) (d) In the HTTP request, "no-cache" is specified in the cache-control field. If cache is enabled in the request, what would happen in the HTTP response? (5 marks) (e) In TCP/IP protocol suite, the two OSI layers, presentation layer and session layer, are combined with application layer. From the given HTTP messages, are there features of presentation and session layers? Elaborate your answer. (10 marks) Question 1 (30%) Consider the headers of HTTP request and response messages below: HTTP Request: GET /f/miscellaneous/9/SPEED-logo11.svg HTTP/1.1 Accept: image/avif, image/webp, image/apng, image/svg+xml, image/*,*/*;q=0.8 Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9, zh-CN;q=0.8, zh;q=0.7, zh-TW;q=0.6 Cache-Control: no-cache Connection: keep-alive Host: www.speed-polyu.edu.hk Pragma: no-cache Referer: https://www.speed-polyu.edu.hk/programme/applied-sciences-iswt Sec-Fetch-Dest: image Sec-Fetch-Mode: no-cors Sec-Fetch-Site: same-origin User-Agent: Mozilla/5.0 AppleWebKit/537.36 Chrome/105.0.0.0 Safari/537.36 sec-ch-ua: "Google Chrome"; v="105", "Not) A; Brand";v="8", "Chromium"; v="105" sec-ch-ua-mobile: ?0 sec-ch-ua-platform: "Windows" HTTP Response: HTTP/1.1 200 OK Date: Wed, 14 Sep 2022 11:14:48 GMT Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips Strict-Transport-Security: max-age=63072000; includeSubdomains; preload X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN Content-Security-Policy: upgrade-insecure-requests; X-Xss-Protection: 1; mode=block Referrer-Policy: no-referrer-when-downgrade Last-Modified: Mon, 13 Jan 2020 08:42:46 GMT ETag: "89e9-59c0175aled80" Accept-Ranges: bytes Content-Length: 35305 Keep-Alive: timeout=5, max=97 Connection: Keep-Alive Content-Type: image/svg+xml
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started