Return-Path: X-Original-To: apmail-aurora-issues-archive@minotaur.apache.org Delivered-To: apmail-aurora-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4929718303 for ; Tue, 10 Nov 2015 18:00:16 +0000 (UTC) Received: (qmail 92890 invoked by uid 500); 10 Nov 2015 18:00:16 -0000 Delivered-To: apmail-aurora-issues-archive@aurora.apache.org Received: (qmail 92699 invoked by uid 500); 10 Nov 2015 18:00:16 -0000 Mailing-List: contact issues-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list issues@aurora.apache.org Received: (qmail 92217 invoked by uid 99); 10 Nov 2015 18:00:15 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2015 18:00:15 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BB71C2C1F77 for ; Tue, 10 Nov 2015 18:00:15 +0000 (UTC) Date: Tue, 10 Nov 2015 18:00:15 +0000 (UTC) From: "Zameer Manji (JIRA)" To: issues@aurora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AURORA-1479) Observer chroot browser guesses content-encoding and content-type of files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AURORA-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zameer Manji updated AURORA-1479: --------------------------------- Fix Version/s: 0.10.0 > Observer chroot browser guesses content-encoding and content-type of files > -------------------------------------------------------------------------- > > Key: AURORA-1479 > URL: https://issues.apache.org/jira/browse/AURORA-1479 > Project: Aurora > Issue Type: Bug > Components: Observer > Reporter: Zameer Manji > Assignee: Zameer Manji > Priority: Minor > Fix For: 0.10.0 > > > From a user: > {quote} > This was discovered when I was trying to gather some test data and save it as a gzip in Aurora on the mesos instance. When downloading the gzip files in Chrome on Mac, the files were automatically ungzipped before they were downloaded. This was unexpected and caused some confusion/perceived corruption. > It also may be reproducible by uploading a gzip as part of the job, then trying to download it via the web ui. > The workaround is to scp the files from the host directly. > {quote} > This appears to be a [feature of bottle|https://groups.google.com/forum/#!topic/bottlepy/xtxsiUaw7s8] where it will guess the content-encoding and content-type of the static files it serves. I think the best step forward would be to follow the suggestion in [RFC2046|http://www.rfcreader.com/#rfc2046_line588] and set the content-type to application/octet-stream and set no content-encoding. -- This message was sent by Atlassian JIRA (v6.3.4#6332)