Previous Topic

Next Topic

Book Contents

Book Index

Client Error 4xx

The 4xx class of status code appears when a client made a mistake. Except when responding to a HEAD request, the server SHOULD include an entity containing an explanation of the error situation. It is whether a temporary condition, whether a permanent condition. These status codes are applicable to any request method. User agents SHOULD display any included entity to the user.

If the client is sending data, a server implementation using TCP SHOULD be careful to ensure that the client acknowledges the receipt of the packet(s) containing the response, before the server closes the input connection. If the client continues sending data to the server after the close, the server TCP stack will send a reset packet to the client, which may erase the client unacknowledged input buffers before they can be read and interpreted by the HTTP application.

In This Section

400 Bad Request

401 Unauthorized

402 Payment Required

403 Forbidden

404 Not Found

405 Method Not Allowed

406 Not Acceptable

407 Proxy Authentication Required

408 Request Timeout

409 Conflict

410 Gone

411 Length Required

412 Precondition Failed

413 Request Entity Too Large

414 Request-URI Too Long

415 Unsupported Media Type

416 Requested Range Not Satisfiable

417 Expectation Failed

See Also

HTTP status codes

Informational 1xx

Successful 2xx

Redirection 3xx

Server Error 5xx