RestController should return HTTP 405
Bug #1334690 reported by
Ryan Petrello
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
Chris Dent | ||
Designate |
Fix Released
|
High
|
Ryan Petrello | ||
pecan |
Fix Released
|
Medium
|
Ryan Petrello |
Bug Description
RestController has a variety of branches which return HTTP 404 (and some that correctly return 405). Audit the code and properly return HTTP 405 in situations where a specified method is not supported (instead of an HTTP 404). Additionally, update RestController to properly return an "Allow:" header so that API consumers know which request methods are allowed.
Changed in pecan: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in pecan: | |
assignee: | nobody → Ryan Petrello (ryan-petrello) |
Changed in designate: | |
assignee: | Ryan Petrello (ryan-petrello) → Kiall Mac Innes (kiall) |
Changed in designate: | |
milestone: | none → liberty-1 |
importance: | Undecided → High |
Changed in designate: | |
assignee: | Kiall Mac Innes (kiall) → Ryan Petrello (ryan-petrello) |
Changed in pecan: | |
status: | Confirmed → In Progress |
Changed in pecan: | |
status: | Fix Committed → Fix Released |
Changed in designate: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
assignee: | nobody → Chris Dent (chdent) |
importance: | Undecided → Medium |
milestone: | none → liberty-rc1 |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in designate: | |
milestone: | liberty-1 → 1.0.0 |
Changed in ceilometer: | |
milestone: | liberty-rc1 → 5.0.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/182273
Review: https:/