mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
responseXXX fields are set on the jqXHR. Close gh-1164.
This commit is contained in:
6
test/data/errorWithJSON.php
Normal file
6
test/data/errorWithJSON.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
header("HTTP/1.0 400 Bad Request");
|
||||
header("Content-Type: application/json");
|
||||
|
||||
echo '{ "code": 40, "message": "Bad Request" }';
|
||||
Reference in New Issue
Block a user