Fix #277, Check if status code exists in httpStatusCodes array