From c8e9242b1ac7ba2c0b8d9604d1f2914ff0e73bf3 Mon Sep 17 00:00:00 2001 From: kgriffs Date: Thu, 5 Sep 2013 17:35:23 -0500 Subject: [PATCH] fix(transport.wsgi): JSON home doc missing GET and HEAD hints GET and HEAD support was added for /v1/queues/{queue_name} but the home document was not updated accordingly. This patch adds those methods (AKA verbs) to the home document. Change-Id: I82bbbf1b6d0735dc2d15faee715175fc724b9423 --- marconi/transport/wsgi/v1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/marconi/transport/wsgi/v1.py b/marconi/transport/wsgi/v1.py index 6815f0f78..666bc8551 100644 --- a/marconi/transport/wsgi/v1.py +++ b/marconi/transport/wsgi/v1.py @@ -42,7 +42,7 @@ JSON_HOME = { 'queue_name': 'param/queue_name', }, 'hints': { - 'allow': ['PUT', 'DELETE'], + 'allow': ['GET', 'HEAD', 'PUT', 'DELETE'], 'formats': { 'application/json': {}, },