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
This commit is contained in:
kgriffs 2013-09-05 17:35:23 -05:00
parent 0a03263154
commit c8e9242b1a

View File

@ -42,7 +42,7 @@ JSON_HOME = {
'queue_name': 'param/queue_name',
},
'hints': {
'allow': ['PUT', 'DELETE'],
'allow': ['GET', 'HEAD', 'PUT', 'DELETE'],
'formats': {
'application/json': {},
},