Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
  • Explaining HTTP Status Code 3xx Series

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 668
    Comment on it

    As know that all the web servers respond with HTTP status code in the first line of the response, which indicates the status of the server for the request from the client. HTTP 3xx series status codes indicate that for accessing a particular resource, the user agent must take some further action. In General the user agent automatically is redirected to another URL without informing the user.Below are all the different HTTP status codes for different situations.

    HTTP 300 – Multiple Choices

    when web server have a situation where the URL provided by the user agent is not specific enough, and the selection has to be done from a number of choices then the HTTP error code “300 – Multiple Choices” is returned in the first line of the response.

    HTTP 301 – Resource Moved Permanently

    The HTTP error code 301 is responded when the web server have a situation where our URL has been permanently redirected to some other URL. The client system is expected to promptly retry the alternate URL.

    HTTP 302 – Resource Moved Temporarily

    HTTP status code 302 tells a user agent that the resource it is looking for has been moved to a new location temporarily. Also the response will include this new location. It tells the client that use the same URL to access the resource.

    HTTP 303 – See Another Resource

    HTTP 303 status code gives us the information that the response to the request by a user agent can be found at the specified URL, and should get it from there only.

    HTTP 304 – Resource Not Modified

    HTTP 304 status code is sent in response If the requested resource is not modified since the last time it was requested. Generally, a document is cached and this date is stored on which it was first requested. Then next time the document is viewed, the client inquires the server if the document has modified. If not, the document will be reloaded from the cache.

    HTTP 305 – Use Proxy

    If the requested resource can only be accessed via a proxy server then the web server gives the “305 – Use Proxy” status. The address of the proxy server is also received in the response which will be displayed on the browser. This is only supported in HTTP/1.1

    HTTP 306 Switch proxy

    This status code indicates that the server must use the specific proxy for the request though it's not used.

    HTTP 307 – Temporary Redirection

    HTTP 307 is the status code that shows that the requested document is temporarily available at some other URL, and this will also be returned. The difference between a 302 status code and a 307 status code is very little.This is only supported in HTTP/1.1



 0 Comment(s)

Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: