Prentice Hall and Sun Microsystems. Personal use only; do not redistribute.
6.2 HTTP 1.1 Status Codes and Their Purpose
133
407 (Proxy Authentication Required)
The 407 (
SC_PROXY_AUTHENTICATION_REQUIRED
) value is similar
to 401, but it is used by proxy servers. It indicates that the client must
authenticate itself with the proxy server. The proxy server returns a
Proxy Authenticate
response header to the client, which results
in the browser reconnecting with a
Proxy Authorization
request
header. This status code is new in HTTP 1.1.
408 (Request Timeout)
The 408 (
SC_REQUEST_TIMEOUT
) code means that the client took too
long to finish sending the request. It is new in HTTP 1.1.
409 (Conflict)
Usually associated with
PUT
requests, the 409 (
SC_CONFLICT
) status is
used for situations such as an attempt to upload an incorrect version of a
file. This status code is new in HTTP 1.1.
410 (Gone)
A value of 410 (
SC_GONE
) tells the client that the requested document
is gone and no forwarding address is known. Status 410 differs from
404 in that the document is known to be permanently gone, not just
unavailable for unknown reasons, as with 404. This status code is new
in HTTP 1.1.
411 (Length Required)
A status of 411 (
SC_LENGTH_REQUIRED
) signifies that the server cannot
process the request (assumedly a
POST
request with an attached docu
ment) unless the client sends a
Content Length
header indicating the
amount of data being sent to the server. This value is new in HTTP 1.1.
412 (Precondition Failed)
The 412 (
SC_PRECONDITION_FAILED
) status indicates that some pre
condition specified in the request headers was false. It is new in HTTP
1.1.
413 (Request Entity Too Large)
A status code of 413 (
SC_REQUEST_ENTITY_TOO_LARGE
) tells the client
that the requested document is bigger than the server wants to handle
Second edition of this book: www.coreservlets.com; Sequel: www.moreservlets.com.
Servlet and JSP training courses by book's author: courses.coreservlets.com.
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved