summaryrefslogtreecommitdiffstats
path: root/sources/dbi.h
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2019-09-19 15:49:39 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-09-19 16:06:03 +0200
commitc1c89e196c7ecbc91dd1f3237cd546ef633490c4 (patch)
tree3863be29a0c295dc8f61cd8e5b82694d9607edb8 /sources/dbi.h
parent55edb404b754c3dd817289e35d67505a476e7dbf (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 'sources/dbi.h')
0 files changed, 0 insertions, 0 deletions