From 4eee5737004df8cf63071c410eb4f060cb2dbaa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 30 Jun 2014 17:49:36 +0200 Subject: Return 422 instead of 400 when AcceptResource returns false 422 is undefined for HTTP and interpreted as 400. --- guide/rest_put_post_patch.svg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'guide/rest_put_post_patch.svg') diff --git a/guide/rest_put_post_patch.svg b/guide/rest_put_post_patch.svg index 9992534..263cc94 100644 --- a/guide/rest_put_post_patch.svg +++ b/guide/rest_put_post_patch.svg @@ -65,8 +65,8 @@ inkscape:pageopacity="1" inkscape:pageshadow="2" inkscape:zoom="2" - inkscape:cx="-3.9389218" - inkscape:cy="344.00863" + inkscape:cx="299.56028" + inkscape:cy="-395.99137" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" @@ -1329,7 +1329,7 @@ 422 unprocessable entity + x="604.32263" + y="1242.303">400 bad request