openstack-poc team mailing list archive
-
openstack-poc team
-
Mailing list archive
-
Message #00396
[Bug 960487] [NEW] Request deserializer does not pass an empty body
Public bug reported:
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.
** Affects: openstack-common
Importance: Undecided
Assignee: cp16net (cp16net)
Status: New
** Changed in: openstack-common
Assignee: (unassigned) => cp16net (cp16net)
--
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:
New
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
Follow ups
References