Week 14: HTTP TLS - Hsanokklis/2023-2024-Tech-journal GitHub Wiki
Objective: Explore the different HTTP Response Status Codes and the scenarios which trigger them
Goals:
- Identify the distinct causes and differentiation between 4XX Status Codes
- Recognize the cause and purpose of 3XX Status Codes
Pre-Lab Activity
We will be using telnet to connect to a web server and retrieve pages from the command line.
telnet jasonoreeves.com 80
- Type in
GET /test.html HTTP/1.1
It might be blind typing - hit enter
- enter
HOST:jasonoreeves.com
- hit enter twice
Here is the HTML file that is returned!!!
Lab Instructions
HTTP Status Codes ---> https://umbraco.com/knowledge-base/http-status-codes/
Status Code 404: Resource Not Found
GET /GinterIsTheBest.html HTTP/1.1
This resource does not exist on the server, so I got the response code NOT FOUND since the server can't find
Status Code 400: Bad request
GET test.html HTTP/1.1
I made the syntax incorrect in the GET request by putting test.html
instead of /test.html
Link used:
Status Code 401: Unauthorized
I do not have the authorization to access this resource
Status Code 403: Forbidden
I don't have access to this resource
Perform some traffic captures of HTTP sessions using your browser - refresh pages- load new pages etc. Look for any 3xx errors you can find
From the http://burlingtoncityarts.org and http://apache.org website I got a HTTP/1.1 301 Moved Permanently
error
burlingtoncityarts.org
apache.org