Using HttpStatus constants instead of hardcoded numbers