From 92d2aeee2730e679418c410f0ee1eb3eac5dec5f Mon Sep 17 00:00:00 2001 From: Alexei Barantsev Date: Thu, 18 Jan 2018 23:58:26 +0300 Subject: [PATCH] Fixing mapping for mimetypes that does not recognize java archives on windows. Fixes #5365 --- third_party/py/googlestorage/publish_release.py | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/py/googlestorage/publish_release.py b/third_party/py/googlestorage/publish_release.py index 9628499c3d8e4..2cfdef98ee57c 100644 --- a/third_party/py/googlestorage/publish_release.py +++ b/third_party/py/googlestorage/publish_release.py @@ -88,6 +88,7 @@ OAUTH_CREDENTIALS_FILE = '.credentials.dat' OAUTH_SCOPE = 'https://www.googleapis.com/auth/devstorage.full_control' +mimetypes.add_type("application/java-archive", ".jar") class Error(Exception): def __init__(self, status, message):