]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Non-json body on POST 500's
authorJohn Perkins <john.perkins@rackspace.com>
Wed, 8 Apr 2015 17:24:03 +0000 (12:24 -0500)
committerJohn Perkins <john.perkins@rackspace.com>
Thu, 9 Apr 2015 16:42:29 +0000 (11:42 -0500)
commitff9c92c712be07f9fa39832debc2af7ee239515b
tree1b8d26bb946fd8951f311bce106fdfa8be378c32
parent3deccfe189ecc2e700a63b48d15a587ab8311f6b
Non-json body on POST 500's

If the body of a POST request is not json, we get crashes.
This can happen when middleware sends along unexpected data.

Closes-bug #1441879

Change-Id: Ifac59476e4785b86bca6e2a54759f4271629a193
neutron/api/v2/base.py
neutron/tests/unit/api/v2/test_base.py