From c95f92fa4c42ef86cd994ca0361cb3c1909e6f2d Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 4 Jul 2012 13:36:51 +0200 Subject: o Sending 405 on bad method, 406 on bad Accept values. --- views/index.jade | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'views/index.jade') diff --git a/views/index.jade b/views/index.jade index 7ff1bb1..363355c 100644 --- a/views/index.jade +++ b/views/index.jade @@ -25,6 +25,12 @@ block content code text/html | you will be served code application/vnd.collection+json + | if you include + code */* + | in your + code Accept + | header. If you request only unsupported types, you'll get a + a(href='http://httpstatus.es/406') 406 | . h4 Exploring with curl -- cgit v1.2.3