6.9.3.3.1 Response Status Line
If the SearchForUPS request is successful, the Origin-Server shall return an HTTP "200 - OK" response code.
If the request fails, the Origin-Server shall return an appropriate failure status line with a response code from Table 6.9.3-1.
Table 6.9.3-1. Status Codes
|
HTTP Code
|
Reason Phrase
|
Description
|
|
200
|
OK
|
The query completed and any matching results are returned in the message body.
|
|
206
|
Partial Content
|
Only some of the query results were returned and the rest can be requested through the appropriate UPS-RS request.
|
|
400
|
Bad Request
|
The UPS-RS Origin-Server was unable to perform the query because the Service Provider cannot understand the query component.
|
|
401
|
Unauthorized
|
The UPS-RS Origin-Server refused to perform the query because the client is not authenticated.
|
|
403
|
Forbidden
|
The UPS-RS Origin-Server understood the request, but is refusing to perform the query (e.g., an authenticated user with insufficient privileges).
|
|
413
|
Request entity too large
|
The query was too broad and a narrower query or paging should be requested.
|
|
503
|
Busy
|
Service is unavailable.
|