Post Single Message - Incorrect location header
Bug #1194571 reported by
Malini Kamalambal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Fix Released
|
High
|
Kurt Griffiths |
Bug Description
Summary : The location header returned is incorrect, when a single message is inserted (NOTE : The location header has the correct value, when more than one message is inserted)
Steps to Repro:
Post message to a queue, with a single message in the request body
Expected Result:
Location header will return the correct value
eg:
Location →/v1/queues/
Actual Result:
Location header is returned without 'messages' in the url.
i.e. Location → /v1/queues/
Changed in marconi: | |
status: | Triaged → In Progress |
Changed in marconi: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
So, this is indeed an inconsistency that was done by design, but I would like to change it to always use the bulk schema. This report also uncovered a bug in the HTTP routes that I would like to fix:
/v1/queues/ darngoodqueue? ids= 51c9cd53821e725 0f344eee1
Should be, instead:
/v1/queues/ darngoodqueue/ messages? ids= 51c9cd53821e725 0f344eee1