🔒 Closed Http status code definitions 101

Status
Not open for further replies.

Swanity-en

Forum Veteran

Status Code Definitions
(Common status code)


1--Informational

The initial part of a request has been received and has not yet been rejected by the server. The server intends to send a final response after the request has been fully received and acted upon.

2--Success

  • 200 OK
The request has succeeded.
The payload sent in a 200 response depends on the request method. For the methods defined by this specification, the intended meaning of the payload can be summarized as:

  • GET a representation of the target resource
  • HEAD the same representation as GET, but without the representation data
  • POST a representation of the status of, or results obtained from, the action;
    • PUT DELETE a representation of the status of the action;
    • OPTIONS a representation of the communications options;
    • TRACE a representation of the request message as received by the end server.
Aside from responses to CONNECT, a 200 response always has a payload, though an origin server MAY generate a payload body of zero length. If no payload is desired, an origin server ought to send You do not have permission to view the full content of this post. Log in or register now. instead. For CONNECT, no payload is allowed because the successful result is a tunnel, which begins immediately after the 200 response header section.
  • 201 CREATED
The request has been fulfilled and has resulted in one or more new resources being created.
  • 202 ACCEPTED
The request has been accepted for processing, but the processing has not been completed. The request might or might not eventually be acted upon, as it might be disallowed when processing actually takes place.
  • 203 NON-AUTHORITATIVE INFORMATION
The request was successful but the enclosed payload has been modified from that of the origin server's You do not have permission to view the full content of this post. Log in or register now. response by a transforming proxy.
  • 204 NO CONTENT
The server has successfully fulfilled the request and that there is no additional content to send in the response payload body.
  • 205 RESET CONTENT
The server has fulfilled the request and desires that the user agent reset the "document view", which caused the request to be sent, to its original state as received from the origin server.
  • 206 PARTIAL CONTENT
The server is successfully fulfilling a range request for the target resource by transferring one or more parts of the selected representation that correspond to the satisfiable ranges found in the request's Range header field

~~~

3--Redirection

  • 300 MULTIPLE CHOICES
The target resource has more than one representation, each with its own more specific identifier, and information about the alternatives is being provided so that the user (or user agent) can select a preferred representation by redirecting its request to one or more of those identifiers.
  • 301 MOVED PERMANENTLY
The target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs.
  • 302 FOUND
The target resource resides temporarily under a different URI. Since the redirection might be altered on occasion, the client ought to continue to use the effective request URI for future requests.

~~~

4--Client Error

The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

  • 401 UNAUTHORIZED
The request has not been applied because it lacks valid authentication credentials for the target resource.
  • 402 PAYMENT REQUIRED
Reserved for future use.
  • 403 FORBIDDEN
The server understood the request but refuses to authorize it.

  • 404 NOT FOUND
The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
  • 405 METHOD NOT ALLOWED
The method received in the request-line is known by the origin server but not supported by the target resource.

~~~

5--Server Error

  • 500 INTERNAL SERVER ERROR
The server encountered an unexpected condition that prevented it from fulfilling the request.
  • 501 NOT IMPLEMENTED
The server does not support the functionality required to fulfill the request.
  • 502 BAD GATEWAY
The server, while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request.
  • 503 SERVICE UNAVAILABLE
The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.
  • 504 GATEWAY TIMEOUT
The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server it needed to access in order to complete the request.
  • 505 HTTP VERSION NOT SUPPORTED
The server does not support, or refuses to support, the major version of HTTP that was used in the request message.

~~~



FOR CREDIT AND COMPLETE LIST OF STATUS CODE JUST VISIT TO THIS SITE You do not have permission to view the full content of this post. Log in or register now..(y)






SALAMAT SA PAGBABASA!
GOD BLESS(y)






 
Status
Not open for further replies.

About this Thread

  • 17
    Replies
  • 912
    Views
  • 18
    Participants
Last reply from:
Silent Agony

Online now

Members online
1,099
Guests online
1,300
Total visitors
2,399

Forum statistics

Threads
2,275,198
Posts
28,961,358
Members
1,232,658
Latest member
Sys01
Back
Top