Youtube

Go to The Main Page Add Youtube to favorite!

HTTP 301 

HTTP
Persistence · Compression · SSL
Headers
ETag · Cookie · Referer
Status codes
200 OK
301 Moved permanently
302 Found
403 Forbidden
404 Not Found
This box: view  talk  

The HTTP response status code 301 Moved Permanently is used for permanent redirection.

This status code should be used with the location header. RFC 2616 states that:

  • If a client has link-editing capabilities, it should update all references to the Request URI
  • The response is cachable
  • Unless if the request method was HEAD, the entity should contain a small hypertext note with a hyperlink to the new URI(s)
  • If the 301 status code is received after GET or HEAD request, the client should ask the user before redirecting.

Example

GET /index.php http/1.1
Host: www.example.com
301 Moved Permanently
Location: /login.php

See also

Could not update stat
UP