Use symbol to set HTTP status code instead of harcoding