async fn read_body_limited(
response: Response,
limit: ReadLimit,
) -> Result<String, GitHubExpandError>Expand description
Reads the response body chunk by chunk, stopping as soon as limit is met.
Dropping response before the transfer finishes aborts it, so the bytes past
the last displayed line are never downloaded.