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:
@@ -42,7 +42,7 @@ JSON_HOME = {
|
|||||||
'queue_name': 'param/queue_name',
|
'queue_name': 'param/queue_name',
|
||||||
},
|
},
|
||||||
'hints': {
|
'hints': {
|
||||||
'allow': ['PUT', 'DELETE'],
|
'allow': ['GET', 'HEAD', 'PUT', 'DELETE'],
|
||||||
'formats': {
|
'formats': {
|
||||||
'application/json': {},
|
'application/json': {},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user