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. You can change this behavior by 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:
200 OK


400 Bad Request


403 Forbidden


404 Not found


302 Found


Parent

The programming model for using the AJAX proxy

 


+

Search Tips   |   Advanced Search