Request deserializer does not pass an empty body
Bug #960487 reported by
Craig Vyvial
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-common |
Invalid
|
Wishlist
|
Craig Vyvial |
Bug Description
When a POST is sent via an API call and the body is empty the body is lost and not sent along and sending back a general 400 error.
This should send a body even if it is empty to the method in the route specified.
The common/wsgi.py Request deserializer for the body needs an update so that this is possible.
This will allow the API developer to create a validation message to the client with what is invalid in the body of the action.
Changed in openstack-common: | |
assignee: | nobody → cp16net (cp16net) |
Changed in openstack-common: | |
status: | In Progress → Fix Committed |
Changed in openstack-common: | |
status: | Fix Committed → In Progress |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/5582
Review: https:/