5411d8fc84
This commit updates POST responses based on API-WG guidelines [1] and RFC 2616 [2]. Specifically: - POST requests have been updated to return '201 (Created)' on success (previously returned 200) - a Location header field has been added to responses (previously not included in response) In addition: - The unit tests have been updated to deal with 201 return codes and to check for the presense of the Location header - The generate_fake_data script has been updated to deal with 201 return codes - POST requests in the documentation have been updated to the new status code [1] https://specs.openstack.org/openstack/api-wg/guidelines/http.html [2] https://tools.ietf.org/html/rfc2616#section-9.5 Change-Id: I2246ff5edfa6fccd9711b67efb73504fb1eb2653 Closes-bug: 1658800 |
||
---|---|---|
.. | ||
cells.inc | ||
hosts.inc | ||
index.rst | ||
parameters.yaml | ||
regions.inc |