diff options
author | jaubourg <j@ubourg.net> | 2013-02-08 16:26:36 +0100 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2013-02-28 15:01:10 -0500 |
commit | eebc77849cebd9a69025996939f930cbf9b1bae1 (patch) | |
tree | 87fab74faa85c7016a524ae2fe8e40ed8659509b /test/data | |
parent | 38bc968052f7f20af48626b6739f312224314348 (diff) | |
download | jquery-eebc77849cebd9a69025996939f930cbf9b1bae1.tar.gz jquery-eebc77849cebd9a69025996939f930cbf9b1bae1.zip |
Fixes #11151, #13388. Minor refactor of response conversion and when/where
responseXXX fields are set on the jqXHR. Close gh-1164.
(Cherry-picked from 69b3d5ce0f081d3f113b2917495f35df160f8522)
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/errorWithJSON.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/data/errorWithJSON.php b/test/data/errorWithJSON.php new file mode 100644 index 000000000..62b187ecc --- /dev/null +++ b/test/data/errorWithJSON.php @@ -0,0 +1,6 @@ +<?php + +header("HTTP/1.0 400 Bad Request"); +header("Content-Type: application/json"); + +echo '{ "code": 40, "message": "Bad Request" }';
\ No newline at end of file |