[SERVER-34198] Update content-type for gzip files Created: 29/Mar/18  Updated: 29/Oct/23  Resolved: 03/Jul/18

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 4.1.1

Type: Task Priority: Major - P3
Reporter: Ramon Fernandez Marina Assignee: Mathew Robinson (Inactive)
Resolution: Fixed Votes: 0
Labels: build-planned
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6, v3.4, v3.2
Sprint: Build 2018-06-04, Build 2018-06-18, Build 2018-07-02
Participants:
Story Points: 3

 Description   

The content-type for the gzip files we make available for download is application/x-gzip. This causes problems with some browsers that don't understand this content type.

According to RFC6648 the x- types are deprecated, and RFC6713 says the right type for gzip files is application/gzip.

The work in this ticket has two parts:

  • Update evergreen.yml to use the right content type for new files
  • Update the existing files to have the right content type


 Comments   
Comment by Githook User [ 03/Jul/18 ]

Author:

{'username': 'chasinglogic', 'name': 'Mathew Robinson', 'email': 'chasinglogic@gmail.com'}

Message: SERVER-34198 Update deprecated x-gzip content-type
Branch: master
https://github.com/mongodb/mongo/commit/b2cd49a55e98894bdcef5b646d3b7f752addf944

Comment by James Broadhead (Inactive) [ 21/May/18 ]

zakhar.kleyman I tested this before, I'm happy to test again once you're ready for me.

Comment by Zakhar Kleyman [ 21/May/18 ]

Who can test this to make sure that switching to application/gzip fixes the problem?

We can change the content-type for files in S3 but we can't own the investigation/research part because we don't have a stake in this, we provide the infrastructure.

Comment by James Broadhead (Inactive) [ 21/May/18 ]

For context, here's the section of our Docs where we try to get customers to work-around this problem: https://docs.opsmanager.mongodb.com/current/tutorial/configure-local-mode/index.html#download-the-required-mongodb-archives

Generated at Thu Feb 08 04:35:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.