MoonScript/jQuery-ajaxTransport-XDomainRequest — pull request #12 by chuck-g (2013-05-06 21:32:48+00:00)
Title: Fake successful response code to access error body

For non-successful responses, IE doesn't allow access to the response text (see http://stackoverflow.com/questions/10390539/xdomainrequest-get-response-body-on-error) so we're asking the server to always respond with 200, and to also add the real response code and message to the json response.

Note that this only works with JSON types at this time (that's what I needed, and tested with) and that it requires server-side changes.

This shouldn't affect other browser support, as the server should only override the status code if the xdr_force_response_status param is set.