Return 403 response when deleting a message with an invalid claim
Bug #1354513 reported by
prashanth raghu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Incomplete
|
Undecided
|
peng fei wang |
Bug Description
Deleting a message with an invalid claim currently returns with a 204 response code. It would be more appropriate to return a 403 NotPermitted response.
Changed in marconi: | |
status: | New → Confirmed |
Changed in marconi: | |
assignee: | nobody → peng fei wang (wpf) |
tags: | added: bugsmash |
To post a comment you must log in.
I cannot reproduce by
<wpf> 1 , put a queue {valid_ message_ id}?claim_ id={invalid_ claim_id}
<wpf> 2, post messages
<wpf> 3 create a claim
<wpf> 3 delete messages with /messages?
<wpf> 4 then 403 returned with the explanation