From 889bf25979770f82364cb449e78df6b9756a1e42 Mon Sep 17 00:00:00 2001 From: Tom Longhurst <30480171+thomhurst@users.noreply.github.com> Date: Wed, 10 Apr 2024 21:32:18 +0100 Subject: [PATCH] feat/fix: Allow `zip` MIME type (#2902) Not a standard MIME type but see issue #2898 --- Octokit/Http/HttpClientAdapter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Octokit/Http/HttpClientAdapter.cs b/Octokit/Http/HttpClientAdapter.cs index 0e54074d..9cab75fc 100644 --- a/Octokit/Http/HttpClientAdapter.cs +++ b/Octokit/Http/HttpClientAdapter.cs @@ -81,6 +81,7 @@ namespace Octokit.Internal AcceptHeaders.RawContentMediaType, "application/zip" , "application/x-gzip" , + "zip" , // Not a standard MIME type but see issue #2898 "application/octet-stream"}; var content = responseMessage.Content;