dotnet-sdk icon indicating copy to clipboard operation
dotnet-sdk copied to clipboard

[BUG]: Tarball/Zipball - Return a Task not any content

Open MarkEnverus opened this issue 1 month ago • 1 comments

What happened?

https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#download-a-repository-archive-tar downloading a repo gets a Location header and downloads the binary content in Zip/Tar - currently the API only returns a Task so not data is returned https://github.com/octokit/dotnet-sdk/blob/239513db62e94366d8305000f5400096e650e5f8/src/GitHub/Repos/Item/Item/Tarball/Item/WithRefItemRequestBuilder.cs#L48

Versions

.net v8 0.0.14 dotnet-sdk

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

MarkEnverus avatar May 16 '24 08:05 MarkEnverus