Result codes

A 200 OK response should be followed by the information contained in the method specification.  All error conditions (4xx, 5xx) or informational condition (1xx, 3xx) should have the following form:


<Protocol> xxx Response
(Content-length: <bytes>)
(Content-type: <mime type>)

(<Descriptive-Body>)


1xx informational

    Reserved for future use

2xx success

200 OK
    The request completed as expected.

3xx redirection

    Reserved for future use.

4xx client error

400 Bad Request
    The server did not understand the request.  An informative message body may be present describing the nature of the error.

401 Unauthorized
    The client does not have permission to perform the requested action.

404 Not Found
    The client requested an object that the server could not find.

5xx server error

500 Internal server error
    The server had encountered an error while processing the request.  The client should be cautious of making further requests until the problems are corrected.

501 Not implemented
    The server does not implement the features required to complete the request.

503 Service Unavailable
    The server is not making the services required to perform the request available at this time.  This is a temporary condition, either caused by maintenance or overload.