Get Server Headers for a Webpage

Get Server Headers for a Webpage

Get Server Headers for a Webpage

GetHTTPHeader tool check your server to make sure the proper HTTP Status Codes (200, 301, 302, 304, 307, 404, 410) are being returned in the server headers.

DownloadDownload This Free Software

Bookmark:

Get Server Headers for a Webpage

There are seven HTTP status codes (200|301|302|304|307|404|410...) that we are primarily interested in from an indexing and search engine marketing perspective. It is recommended that you verify your URIs are returning the proper Status-Code in the Server Header.

Get HTML Header Tool

One of the most common uses of this tool is to make sure your website is doing the correct URL redirect. Use this tool to make sure your URL redirect is done correctly by checking URL response status. Just type in the old URL and click Get Header button. After processing URL, this tool will show you the status of the given URL, if you see status code 301, then entered URL doing correct permanent redirect.

The Web Server can use these header fields

  • Method
  • HTTP-Version
  • URI
  • Date
  • Connection
  • Authorization
  • If-Modified-Since
  • Content-Length
  • Content-Type

All other server headers are parsed, but they are ignored.

HTTP Status Codes that the Web Server can return - Definitions
Member nameDescription
HTTP Status Codes that the Web Server can return
Continue Equivalent to HTTP status 100. Continue indicates that the client can continue with its request.
SwitchingProtocols Equivalent to HTTP status 101. SwitchingProtocols indicates that the protocol version or protocol is being changed.
OK Equivalent to HTTP status 200. OK indicates that the request succeeded and that the requested information is in the response. This is the most common status code to receive.
Created Equivalent to HTTP status 201. Created indicates that the request resulted in a new resource created before the response was sent.
Accepted Equivalent to HTTP status 202. Accepted indicates that the request has been accepted for further processing.
NonAuthoritativeInformation Equivalent to HTTP status 203. NonAuthoritativeInformation indicates that the returned metainformation is from a cached copy instead of the origin server and therefore may be incorrect.
NoContent Equivalent to HTTP status 204. NoContent indicates that the request has been successfully processed and that the response is intentionally blank.
ResetContent Equivalent to HTTP status 205. ResetContent indicates that the client should reset (not reload) the current resource.
PartialContent Equivalent to HTTP status 206. PartialContent indicates that the response is a partial response as requested by a GET request that includes a byte range.
MultipleChoices Equivalent to HTTP status 300. MultipleChoices indicates that the requested information has multiple representations. The default action is to treat this status as a redirect and follow the contents of the Location header associated with this response.
Ambiguous Equivalent to HTTP status 300. Ambiguous indicates that the requested information has multiple representations. The default action is to treat this status as a redirect and follow the contents of the Location header associated with this response.
MovedPermanently Equivalent to HTTP status 301. MovedPermanently indicates that the requested information has been moved to the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response.
Moved Equivalent to HTTP status 301. Moved indicates that the requested information has been moved to the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response. When the original request method was POST, the redirected request will use the GET method.
Found Equivalent to HTTP status 302. Found indicates that the requested information is located at the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response. When the original request method was POST, the redirected request will use the GET method.
Redirect Equivalent to HTTP status 302. Redirect indicates that the requested information is located at the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response. When the original request method was POST, the redirected request will use the GET method.
SeeOther Equivalent to HTTP status 303. SeeOther automatically redirects the client to the URI specified in the Location header as the result of a POST. The request to the resource specified by the Location header will be made with a GET.
RedirectMethod Equivalent to HTTP status 303. RedirectMethod automatically redirects the client to the URI specified in the Location header as the result of a POST. The request to the resource specified by the Location header will be made with a GET.
NotModified Equivalent to HTTP status 304. NotModified indicates that the client's cached copy is up to date. The contents of the resource are not transferred.
UseProxy Equivalent to HTTP status 305. UseProxy indicates that the request should use the proxy server at the URI specified in the Location header.
Unused Equivalent to HTTP status 306. Unused is a proposed extension to the HTTP/1.1 specification that is not fully specified.
TemporaryRedirect Equivalent to HTTP status 307. TemporaryRedirect indicates that the request information is located at the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response. When the original request method was POST, the redirected request will also use the POST method.
RedirectKeepVerb Equivalent to HTTP status 307. RedirectKeepVerb indicates that the request information is located at the URI specified in the Location header. The default action when this status is received is to follow the Location header associated with the response. When the original request method was POST, the redirected request will also use the POST method.
BadRequest Equivalent to HTTP status 400. BadRequest indicates that the request could not be understood by the server. BadRequest is sent when no other error is applicable, or if the exact error is unknown or does not have its own error code.
Unauthorized Equivalent to HTTP status 401. Unauthorized indicates that the requested resource requires authentication. The WWW-Authenticate header contains the details of how to perform the authentication.
PaymentRequired Equivalent to HTTP status 402. PaymentRequired is reserved for future use.
Forbidden Equivalent to HTTP status 403. Forbidden indicates that the server refuses to fulfill the request.
NotFound Equivalent to HTTP status 404. NotFound indicates that the requested resource does not exist on the server.
MethodNotAllowed Equivalent to HTTP status 405. MethodNotAllowed indicates that the request method (POST or GET) is not allowed on the requested resource.
NotAcceptable Equivalent to HTTP status 406. NotAcceptable indicates that the client has indicated with Accept headers that it will not accept any of the available representations of the resource.
ProxyAuthenticationRequired Equivalent to HTTP status 407. ProxyAuthenticationRequired indicates that the requested proxy requires authentication. The Proxy-authenticate header contains the details of how to perform the authentication.
RequestTimeout Equivalent to HTTP status 408. RequestTimeout indicates that the client did not send a request within the time the server was expecting the request.
Conflict Equivalent to HTTP status 409. Conflict indicates that the request could not be carried out because of a conflict on the server.
Gone Equivalent to HTTP status 410. Gone indicates that the requested resource is no longer available.
LengthRequired Equivalent to HTTP status 411. LengthRequired indicates that the required Content-length header is missing.
PreconditionFailed Equivalent to HTTP status 412. PreconditionFailed indicates that a condition set for this request failed, and the request cannot be carried out. Conditions are set with conditional request headers like If-Match, If-None-Match, or If-Unmodified-Since.
RequestEntityTooLarge Equivalent to HTTP status 413. RequestEntityTooLarge indicates that the request is too large for the server to process.
RequestUriTooLong Equivalent to HTTP status 414. RequestUriTooLong indicates that the URI is too long.
UnsupportedMediaType Equivalent to HTTP status 415. UnsupportedMediaType indicates that the request is an unsupported type.
RequestedRangeNotSatisfiable Equivalent to HTTP status 416. RequestedRangeNotSatisfiable indicates that the range of data requested from the resource cannot be returned, either because the beginning of the range is before the beginning of the resource, or the end of the range is after the end of the resource.
ExpectationFailed Equivalent to HTTP status 417. ExpectationFailed indicates that an expectation given in an Expect header could not be met by the server.
InternalServerError Equivalent to HTTP status 500. InternalServerError indicates that a generic error has occurred on the server.
NotImplemented Equivalent to HTTP status 501. NotImplemented indicates that the server does not support the requested function.
BadGateway Equivalent to HTTP status 502. BadGateway indicates that an intermediate proxy server received a bad response from another proxy or the origin server.
ServiceUnavailable Equivalent to HTTP status 503. ServiceUnavailable indicates that the server is temporarily unavailable, usually due to high load or maintenance.
GatewayTimeout Equivalent to HTTP status 504. GatewayTimeout indicates that an intermediate proxy server timed out while waiting for a response from another proxy or the origin server.
HttpVersionNotSupported Equivalent to HTTP status 505. HttpVersionNotSupported indicates that the requested HTTP version is not supported by the server.

Software version and platform information

  • Build Year: 2009
  • Development Status : Beta
  • Operating System : 32-bit MS Windows .Net 2.0
  • IDE: Microsoft Visual Studio 2008
  • Intended Audience : Webmasters, Search Engine Optimizers, Web Server Managers, Web Developers
  • Programming Language : C#
  • User Interface : GUI (Graphical User Interface)
  • Version: 1.0

External Resouces

Download This Webmaster Tools Free Software.

Download materials for this article (Webmaster Tools - Free Software)

Download - gethtmlheader.zipgethtmlheader.zip
       File size: 13 KB, File type: zip
       Total downloads: 128, Upload date: March 10 - 2009

g :: August 12-2009 :: 10:57 PM

good one for testing the 
HTTP . Thanks a lot

Joe Dyer :: April 18-2010 :: 07:53 PM

Thanks great reference document. I was wondering about a couple of status 206 returns.

Leave a comment