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

_______________________________________________
Mailing list: https://launchpad.net/~openstack-poc
Post to     : openstack-poc@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack-poc
More help   : https://help.launchpad.net/ListHelp

Reply via email to