Comment 3 for bug 1428462

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to wsme (master)

Reviewed: https://review.openstack.org/176804
Committed: https://git.openstack.org/cgit/stackforge/wsme/commit/?id=8d9f82d7fefd357b22c5d51754069ac05fd17159
Submitter: Jenkins
Branch: master

commit 8d9f82d7fefd357b22c5d51754069ac05fd17159
Author: Stéphane Bisinger <email address hidden>
Date: Thu Apr 23 16:37:14 2015 +0200

    Return a 400 status code on invalid JSON input

    Instead of returning a 500 HTTP status code, return a 400 status code when the
    received input is invalid JSON.
    Also add a unit test for this case.

    Closes-Bug: #1428462
    Change-Id: Id02de0a7b8fcbcb07f7ac534519dcdc1cbb04839