From: peusterm Date: Fri, 15 Jun 2018 12:46:23 +0000 (+0200) Subject: Fix1: Package upload using Python3 was still broken: X-Git-Tag: BUILD_v4.0.1_1^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=119f79ff8103018c12d9f3f5083a97e5a34aecba;hp=119f79ff8103018c12d9f3f5083a97e5a34aecba;p=osm%2Fosmclient.git Fix1: Package upload using Python3 was still broken: Loading file contents using 'r' does not work in Python 3 and results in an encoding error. Replaced with 'rb'. Fix2: Be more robust when MIME types are detected: Treat 'application/x-gzip' as 'application/gzip'. (This will also allow to use osmclient on OS X) Change-Id: I430b2fae2c275803120a6815d01bb26bff26ebdc Signed-off-by: peusterm ---