Review main Merged

53564[BUGFIX] Use HTTP 400 instead of 500 when client is faulty

Xavier Perseguers CR +2 V +2 Easy +4 −4 updated 07/24/17, 18:48

Commit message

When checking for precondition in the request, HTTP 400 code should
be returned whenever the client is responsible for having issued a
bad request.

HTTP 500 indicates an internal error on the server, which is not the
case under such circumstance.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1