Respect statusCode