Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1479

Observer chroot browser guesses content-encoding and content-type of files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.10.0
    • Observer
    • None

    Description

      From a user:

      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.

      This appears to be a feature of bottle 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 and set the content-type to application/octet-stream and set no content-encoding.

      Attachments

        Activity

          People

            zmanji Zameer Manji
            zmanji Zameer Manji
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: