Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

fix(express): Incorrest uses of 400 error codes #1553

Merged
merged 1 commit into from
Oct 10, 2016

Commits on Oct 9, 2016

  1. fix(express): Incorrest uses of 400 error codes

    Fixes incorrest usage of 400 HTTP responses being returned from the
    server, in favor of using 422.
    
    Also, changed a few return codes to 401 where it was more appropriate.
    
    See this article for reasoning behind moving to 422, and why 400 isn't
    appropriate for these cases.
    
    For ref:
    meanjs@6be12f8
    
    Related:
    meanjs#1547
    meanjs#1510
    mleanos committed Oct 9, 2016
    Configuration menu
    Copy the full SHA
    0f256e2 View commit details
    Browse the repository at this point in the history