d597bb4714
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>
6 lines
110 B
Plaintext
6 lines
110 B
Plaintext
HTTP/1.1 204 No Content
|
|
Content-Type: application/json
|
|
Content-Length: 0
|
|
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
|
|