Reviewed: https://review.openstack.org/78487 Committed: https://git.openstack.org/cgit/stackforge/designate/commit/?id=877055aca77cc17f701fb2f6665cdd6ef420337f Submitter: Jenkins Branch: master
commit 877055aca77cc17f701fb2f6665cdd6ef420337f Author: Vinod Mangalpally <email address hidden> Date: Wed Mar 5 18:58:17 2014 -0600
Return 400 for invalid Json for api v2
For invalid json, a ValueError is returned by python's json decoder. On v2, we now catch this and return a 400 (invalid_json)
Change-Id: Idb76f051c6d09d5fd26f0a44fa75a0ffd9f37b6a Closes-Bug: #1288456
Reviewed: https:/ /review. openstack. org/78487 /git.openstack. org/cgit/ stackforge/ designate/ commit/ ?id=877055aca77 cc17f701fb2f666 5cdd6ef420337f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 877055aca77cc17 f701fb2f6665cdd 6ef420337f
Author: Vinod Mangalpally <email address hidden>
Date: Wed Mar 5 18:58:17 2014 -0600
Return 400 for invalid Json for api v2
For invalid json, a ValueError is returned by python's json decoder.
On v2, we now catch this and return a 400 (invalid_json)
Change-Id: Idb76f051c6d09d 5fd26f0a44fa75a 0ffd9f37b6a
Closes-Bug: #1288456