HTTP Headers Checker – Use It Now to Check HTTP Status Codes, Location Information and more.
The HTTP Headers let you know the headers that are sent back by the receiving web server alongside the resources you asked for.
How To Use It
- Key in any URL in the text box above.
- Click Go.
When Should I Use the HTTP Headers Tool?
There might be strange behaviours with HTTP connections, and HTTP headers let you diagnose them. It will show you in case your original request is redirected at any instance. This functionality enables you to optimise your site accordingly.
This tool will return the full set of HTTP headers on both HTTP and HTTPS for any given URL.
What do the HTTP Headers Do?
The HTTP Headers tool shares the HTTP GET response with to URL provided. It ensures that the request is not timed out. Once the tool acquires the response, it will feature an HTTP response code and the headers themselves.
Evaluating your response headers
The first line displayed will typically look like this: HTTP/1.1 200 OK.
HTTP/1.1 shows that the HTML Headers tool uses the HTTP/1.1 protocol.
200 acts as the HTTP status code. Note that this numeric code you get might vary from time to time
OK is the particular message that comes alongside the status code. This one might also vary.
The status code is one of the most vital details you will get. There is a long list of status codes in use. We have listed some of them below:
- 200 (OK): This shows that the request was successful. It shows that the response bears the content requested.
- 301 (Moved Permanently): It means that the content requested exists in another URL (indicated in the Location header). Replace the link with a newer URL to optimise performance. It also helps you avoid a broken link in the future.
- 302 (Found): The content is available in the URL indicated in the Location header. But this is temporary.
- 303 (Location): Content is well available in the specified URL in the Location header. GET method should be used to retrieve it.
- 307 (Temporary Redirect): Content is available at the URL in the Location header specified. Proceed to use the present URL.
- 401 (Unauthorized): Authentication is necessary to access the content
- 403 (Forbidden): Access denied
- 404 (Not Found): Resources could not be located. The returned content or other headers content could feature more information.
- 405 (Method not allowed): The URL denies the specified HTTP method, which is always GET. Allow Header will list the accepted methods.
- 410 (Gone): It looks more like 404 but features more finality. A known forwarding address is not available, which means the content is not available.
- 500 (Internal server error): There is a problem with the webserver. Therefore, your request was not processed.
- 503 (Service unavailable): The URL is unavailable, but this is temporary.
A Closer Look at Multiple Headers
There is a long list of headers available.
This header shows the actual format of the data being returned. For instance, here is how the header in the HTML looks like this:
Content-Type: text/HTML; cahrset=UTF-8
This header shows you how the webserver encodes the data is shared with you. This information is shared in a compressed format for enhanced efficiency. You will get back something that looks like this;
This header reminds you that the content has changed. For the statistics page, it is usually the modification date of the content. For instance:
Mon 17 Feb 2020 03:52”00 GMT.
This header asks your browser to launch a cookie. You might get more than one in response. One of them might look like this: mycookie=xyz. However, there might be additional parameters in the cookie.
In this header, you get caching-related directives to the browser. In case the content doesn’t need to be cached, you will see cache-control: no-cache.
This header informs the accepted HTTP methods such as GET, PUT, HEAD.
A Good Example
Whenever you key in a URL into a browser, and then you hit send, the server usually redirects it multiple times before issuing you with the results of the final URL. You might need to give a domain name, but you will then be redirected to www.example.com.
Once this has happened, the HTTP Headers tool will give you information showing it. You will see HTTP 300s status code. It could be 301 or any other code within the 300 range.
The web server might direct the browser to use cached information. If this happens, you will see HTTP status codes within the 300s range.
In a nutshell, the tool gives back these headers and then you can use the information provided to find out what happened between the time you sent a request and when you received the response. It is vital to note that the response will always vary.