jquery/test/data/errorWithJSON.php
jaubourg 69b3d5ce0f Fixes #11151, #13388. Minor refactor of response conversion and when/where
responseXXX fields are set on the jqXHR. Close gh-1164.
2013-02-28 14:47:39 -05:00

6 lines
134 B
PHP

<?php
header("HTTP/1.0 400 Bad Request");
header("Content-Type: application/json");
echo '{ "code": 40, "message": "Bad Request" }';