Skip to content

Commit

Permalink
feat/fix: Allow zip MIME type (#2902)
Browse files Browse the repository at this point in the history
 Not a standard MIME type but see issue #2898
  • Loading branch information
thomhurst committed Apr 10, 2024
1 parent 92ff70b commit 889bf25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Octokit/Http/HttpClientAdapter.cs
Expand Up @@ -81,6 +81,7 @@ protected virtual async Task<IResponse> BuildResponse(HttpResponseMessage respon
AcceptHeaders.RawContentMediaType,
"application/zip" ,
"application/x-gzip" ,
"zip" , // Not a standard MIME type but see issue #2898
"application/octet-stream"};

var content = responseMessage.Content;
Expand Down

0 comments on commit 889bf25

Please sign in to comment.