Concrete implementation of
SC.Response that implements support for using XHR requests. This is
the default response class that
SC.Request uses and it is able to create cross-browser
compatible XHR requests to the address defined on a request and to notify according to the status
code fallbacks registered on the request.
You will not typically deal with this class other than to receive an instance of it when handling
SC.Request responses. For more information on how to create a request and handle an XHR response,
Defined in: response.js
- SproutCore 1.0
- Fields borrowed from SC.Response:
- address, body, errorObject, errorValue, isCancelled, isError, isJSON, isResponse, isXML, listeners, originalRequest, request, status, timedOut, timeoutTimer, type
Field DetailencodedBody String
- Default value:
Instance Method Detail
Creates the correct XMLHttpRequest object for this browser.
You can override this if you need to, for example, create an XHR on a different domain name from an iframe.