trove/trove/tests/examples
Zhao Chao d597bb4714 Return 204 instead of 200 for root-disable API
As no content will be returned to the client if a root-disable request
succeeds, a HTTP 204 (Not Content) response is more appropriate.

Redis root-disable scenario test fails because it's return HTTP 204, but
all API related tests are expecting a HTTP 200. Although changing Redis
root-disable API is a much simpler way to resolve the problem, migrating
from HTTP 200 to HTTP 204 should be a better solution. Related tests and
documents are also updated accordingly.

APIImpact

Change-Id: If732a578009fd35436e810fb7ceceefd1ada3778
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2018-03-02 20:57:23 +08:00
..
__init__.py Create example generator 2014-11-17 13:51:24 -06:00
client.py Adds the api-ref migrated RST + YAML files 2016-08-17 17:46:41 -04:00
snippets.py Return 204 instead of 200 for root-disable API 2018-03-02 20:57:23 +08:00