Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Why was a status code of 200 returned for http://www.cs.ecu.edu. but 301 was returned for http://www.ecu.edu? Request: HEAD http://WWW. ecu. edu HTTP/1.1 Host: ww. ecu.edu
Why was a status code of 200 returned for http://www.cs.ecu.edu. but 301 was returned for http://www.ecu.edu?
Request: HEAD http://WWW. ecu. edu HTTP/1.1 Host: ww. ecu.edu Referer: http://ww. rexswain. com/httpview. html Connection: Close Response Header: HTTP/1.1 301 Moved Permanently Cache-Control: public, max-age =86400 Connection: close Date: Mon, 06 Feb 2023 18:07:39 GMT Via: 1.1 varnish, 1.1 varnish Accept-Ranges: bytes Age: 82723 Location: https://www. ecu.edu/ Server: nginx Vary: Cookie, Cookie Content-Length: 162 Content-Type: text/html X-Cache: HIT, HIT X-Cache-Hits: 52, 1 x-Pantheon-Styx-Hostname: styx-fe3-b-7ff4866b5b-57p54 X-Served-By: cache-chi-klot8100046-CHI, cache-sna10722-LGB X-Styx-Req-Id: 89 af4117-a588-11ed-bb32-46b8555aef 69 X-Timer: 51675706859.279262,V50,VE18 Done Elapsed time so far: 0 seconds The Location: line in the header above would redirect your browser to a new URL: Location 2 Request: HEAD https://wWw. ecu.edu/ HTTP/1.1 Host: www. ecu.edu Referer: http://ww. rexswain. com/httpview. html Connection: Close Response Header: HTTP/1.1 200 OK Cache-Control: public, max-age =1800 Connection: close Date: Mon, 06 Feb 2023 18:07:39 GMT Via: 1.1 varnish, 1.1 varnish Accept-Ranges: bytes Age: 298 Server: nginx Vary: Accept-Encoding, Cookie, Cookie Content-Length: 153603 Content-Type: text/html; charset=UTF-8 Link: ; rel="https://api.w. org/" Link: ; rel="alternate"; type="application/json" Link: ; rel=shortlink Strict-Transport-Security: max-age =300 X-Cache: HIT, MISS X-Cache-Hits: 4,0 x-Pantheon-Styx-Hostname: styx-fe3-b-7ff4866b5b-fjmhm X-Served-By: cache-chi-kigq8000044-CHI, cache-bur-kbur8200160-BUR x5tyxReqId:71195ffea64811ed893c46769 a 9bab97 X-Timer: 51675706859.331084,VS0,VE50 Request: GET http://www.cs.ecu.edu HTTP/1.1 Host: www.cs.ecu.edu User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Referer: http://www. rexswain.com/httpview.html Connection: Close Response Header: HTTP/1.1 200 OK Connection: close Date: Mon, 06 Feb 2023 18:08:06 GMT Accept-Ranges: bytes ETag: "1bb-5cc96619ab5fa" Server: Apache/2.4.54 (Ubuntu) Vary: Accept-Encoding Content-Length: 443 Content-Type: text/htm 1 Last-Modified: Wed, 22 Sep 2021 14:32:18 GMT Content ( Length =443) : (LF) head >(LF) LMETA http-equiv = "refresh" content ="5;URL=http:// cet.ecu.edu/csci/" (LF) head > (LF) (LF) (LF) center >(LF) body > (LF) (LF) DoneStep 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