aboutsummaryrefslogtreecommitdiffstats
path: root/guide
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-06-30 17:49:36 +0200
committerLoïc Hoguin <[email protected]>2014-06-30 17:49:36 +0200
commit4eee5737004df8cf63071c410eb4f060cb2dbaa2 (patch)
tree102e9e2d9905359e8aa5306b90b90fb2446f422f /guide
parent8cc353114eea7113878463a934baf068ee255cb5 (diff)
downloadcowboy-4eee5737004df8cf63071c410eb4f060cb2dbaa2.tar.gz
cowboy-4eee5737004df8cf63071c410eb4f060cb2dbaa2.tar.bz2
cowboy-4eee5737004df8cf63071c410eb4f060cb2dbaa2.zip
Return 422 instead of 400 when AcceptResource returns false
422 is undefined for HTTP and interpreted as 400.
Diffstat (limited to 'guide')
-rw-r--r--guide/rest_put_post_patch.pngbin219653 -> 218656 bytes
-rw-r--r--guide/rest_put_post_patch.svg10
2 files changed, 5 insertions, 5 deletions
diff --git a/guide/rest_put_post_patch.png b/guide/rest_put_post_patch.png
index de2ce2f..4afca9e 100644
--- a/guide/rest_put_post_patch.png
+++ b/guide/rest_put_post_patch.png
Binary files differ
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 @@
<text
xml:space="preserve"
style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="604.3656"
+ x="604.32263"
y="1242.303"
id="text5371-43-2-9-7-3-8"
sodipodi:linespacing="125%"
@@ -1338,8 +1338,8 @@
inkscape:export-ydpi="89.926643"><tspan
sodipodi:role="line"
id="tspan5373-3-9-7-8-7-5"
- x="604.3656"
- y="1242.303">422 unprocessable entity</tspan></text>
+ x="604.32263"
+ y="1242.303">400 bad request</tspan></text>
<g
transform="matrix(-0.34202014,-0.93969262,0.93969262,-0.34202014,-311.11659,1246.6148)"
id="g5650-2-0-4-0"