+

Search Tips   |   Advanced Search

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.

By default, the AJAX proxy does not forward an HTTP status code that it receives from the target host. Only 2xx and 3xx status codes are directly forwarded to the client. If the proxy receives an 4xx error code, it will always return a 404 'Not Found' error instead. We can change this behavior using the forward-http-errors configuration parameter. For more details about this parameter refer to the topic about General configuration parameters.

The proxy returns its response with one of the following status codes:


Parent: The programming model for using the AJAX proxy