openstack-poc team mailing list archive
-
openstack-poc team
-
Mailing list archive
-
Message #00397
[Bug 960487] Re: Request deserializer does not pass an empty body
Fix proposed to branch: master
Review: https://review.openstack.org/5582
** Changed in: openstack-common
Status: New => In Progress
** Changed in: openstack-common
Assignee: cp16net (cp16net) => Craig Vyvial (cp16net-gmail)
--
You received this bug notification because you are a member of OpenStack
Common Drivers, which is the registrant for openstack-common.
https://bugs.launchpad.net/bugs/960487
Title:
Request deserializer does not pass an empty body
Status in openstack-common:
In Progress
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-common/+bug/960487/+subscriptions
References