Location header should be sent with an HTTP status code of 201 or 202
Bug #1317044 reported by
Lucas Alvares Gomes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Medium
|
Lucas Alvares Gomes |
Bug Description
The HTTP Location header should be sent when a new resource is created (201) or when a server accepts the request and will process it asynchronously (202).
201:
To provide information about the location of a newly created resource the Ironic API should return the URI for the new object in the HTTP Location header.
202:
After the server accepts the request it needs to return an URI in the HTTP Location header so that clients will know how to track the status of the request.
Currently WSME has a bug opened about it[1], but the Ironic API we could workaround it by editing the pecan.response.
Changed in ironic: | |
importance: | Undecided → High |
assignee: | nobody → Lucas Alvares Gomes (lucasagomes) |
Changed in ironic: | |
importance: | High → Medium |
Changed in ironic: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | juno-1 → 2014.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/92615
Review: https:/