Use "403 Forbidden" instead of "400 Bad Request". #2

Merged
merged 1 commit into from Jan 22, 2012
Commits on Jan 22, 2012
  1. Use "403 Forbidden" instead of "400 Bad Request".

    PiotrSikora committed Jan 22, 2012
    Per RFC2616:
    
    10.4.1 400 Bad Request
    The request could not be understood by the server due to malformed
    syntax.
    
    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it.
    Authorization will not help and the request SHOULD NOT be repeated.
    
    Change-Id: Idb6ea7fa49c61bd9e6cc6067afdae57c7c81817b
    Signed-off-by: Piotr Sikora <piotr.sikora@frickle.com>