Portal, V6.1
AJAX proxy status codes
The AJAX proxy responds to requests by defined status codes. Possible errors that can occur in the proxy are mapped to the corresponding HTTP status codes. The proxy returns its response with one of the following status codes:
- 200 OK
- This code indicates that the request was accepted by the proxy and that the target server returned a response with a status code 200. This means that the request complied with one of the access policies specified in the proxy configuration.
- 400 Bad Request
- Proxy returns this code if the syntax of the request was incorrect.
- 403 Forbidden
- Proxy returns this code in either of the following two cases:
- The request was not accepted by the proxy, that is the proxy found no matching access policy that grants access to the target server.
- Basic authentication failed.
- 404 Not found
- This code indicates that the proxy accepted the request, but the target server either returned status code 404 itself or did not respond at all.
- 302 Found
- This code indicates that the authentication was successful.
Parent topic
The programming model for using the AJAX proxy