Fixes #11151, #13388. Minor refactor of response conversion and when/where

responseXXX fields are set on the jqXHR. Close gh-1164.
This commit is contained in:
jaubourg
2013-02-08 16:26:36 +01:00
committed by Dave Methvin
parent a14a31727f
commit 69b3d5ce0f
3 changed files with 73 additions and 41 deletions

View File

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