Useful HTTP Status Codes





Status Codes and Meaning
200 - The document was successfully found and sent.
204The transaction was successful, but there is no data to send. The Web browser should just remain on its current page.
301The page is now located at a new URL, specified by the Location header.
302The page is temporarily located at a new URL, specified by the Location header.
401The document you're trying to access is protected by some authentication scheme. Browsers should typically prompt the user for a username and password upon receiving this status code.
You can use the Status header to control how the server interprets the Location header. By default, if you specify a URL following the Location header, the server assumes a status of 302. Upon receiving this status code, the browser will assume that the page has been temporarily moved and that it will be back at the original location at a later time.
If you had moved a page permanently to a new location, then it is useful to send the 301 status code rather than 302. This tells the browser to access the URL specified by the Location header every time a request is made to the original URL.
Domain Name Search
|