The response shall have the following syntax:
version SP status-code SP reason-phrase CRLF
*(header-field CRLF)
CRLF
[payload]
Table 14.4.3-1 shows some common status codes corresponding to this Transaction. See also Section 8.5 for additional status codes.
Table 14.4.3-1. Status Code Meaning
|
Status
|
Code
|
Meaning
|
|
Success
|
200 (OK)
|
The origin server returns the matching results.
|
|
204 (No Content)
|
The origin server has no matching results.
|
|
Failure
|
400 (Bad Request)
|
The origin server cannot handle the search request because of errors in the request headers or parameters.
|
|
413 (Payload Too Large)
|
The origin server cannot return the results, as their combined size exceeds the maximum payload size supported. The user agent may repeat the request with paging or with a narrower query to reduce the size.
|
|
503 (Service Unavailable)
|
The origin server cannot handle the query; this may be a temporary or permanent state.
|