Skip to content

Commit 889bf25

Browse files
authored
feat/fix: Allow zip MIME type (#2902)
Not a standard MIME type but see issue #2898
1 parent 92ff70b commit 889bf25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Octokit/Http/HttpClientAdapter.cs

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ protected virtual async Task<IResponse> BuildResponse(HttpResponseMessage respon
8181
AcceptHeaders.RawContentMediaType,
8282
"application/zip" ,
8383
"application/x-gzip" ,
84+
"zip" , // Not a standard MIME type but see issue #2898
8485
"application/octet-stream"};
8586

8687
var content = responseMessage.Content;

0 commit comments

Comments
 (0)