Roman Bodnarchuk 91b27cc213 Fix 500 error if request body is not JSON object
In `JsonBodyMiddleware` we expect POST body to be a JSON dictionary,
and failed with 500 error if body was a valid JSON, but not a
dictionary.  Additional check was added along with a test for described
case.

Change-Id: I08ae3c8fa4eb53b67604d8b8791ca19d9c1682e6
Closes-Bug: #1316657
2014-06-18 05:18:39 -04:00
2014-03-27 18:52:07 -05:00
2014-02-13 03:43:19 +00:00
Description
OpenStack Identity (Keystone) Middleware
14 MiB
Languages
Python 100%