diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2019-09-19 15:49:39 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-09-19 16:06:03 +0200 |
commit | c1c89e196c7ecbc91dd1f3237cd546ef633490c4 (patch) | |
tree | 3863be29a0c295dc8f61cd8e5b82694d9607edb8 /tests/wol.json | |
parent | 55edb404b754c3dd817289e35d67505a476e7dbf (diff) |
#915: Return 400 status code in POST methods when no payload is attached
If no payload is attached to method that requires a payload, then the API
returns a 400 status code (following RFC 7231) instead of the previous 404.
test_0001_get_clients.py is also modified to fit the new status code.
Diffstat (limited to 'tests/wol.json')
0 files changed, 0 insertions, 0 deletions