A 405 error should be returned when invoking a heat API with an unsupported request method
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Miguel Grinberg |
Bug Description
The heat API returns a 404 Not Found error when sending a request to a valid URL but with an unsupported request method.
Example (using httpie from the command line):
$ http GET http://
HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/plain; charset=UTF-8
Date: Tue, 09 Sep 2014 01:11:52 GMT
X-Openstack-
404 Not Found
The resource could not be found.
$ http POST http://
HTTP/1.1 200 OK
Content-Length: 51
Content-Type: application/json; charset=UTF-8
Date: Tue, 09 Sep 2014 01:13:12 GMT
X-Openstack-
{
"Description": "No description",
"Parameters": {}
}
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in heat: | |
assignee: | nobody → Miguel Grinberg (miguelgrinberg) |
Changed in heat: | |
milestone: | none → kilo-2 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-2 → 2015.1.0 |
This change could possibly help with the implementation bit btw. https:/ /review. openstack. org/#/c/ 103959/ Cheers.