#9310 Wrong mimetype on Fedora Media Writer macOS download
Closed: Fixed by bcotton. Opened by bcotton.

Describe what you would like us to do:

Fix the mimetype of the Fedora Media Writer macOS download (see fedora-web/websites#143) to be application/octet-stream


When do you need this to be done by?

ASAP



Metadata Update from @zlopez:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: medium-gain, medium-trouble, ops

Metadata Update from @zlopez:
- Issue untagged with: medium-trouble
- Issue tagged with: low-trouble

The mimetype needs to be added to template for website vhost.
Example https://github.com/CentOS/ansible-role-httpd/blob/master/templates/01_common.conf.j2#L2

Thanks @arrfab for insight.

Metadata Update from @pingou:
- Issue assigned to pingou

PR opened at: https://pagure.io/fedora-infra/ansible/pull-request/243

Commit d5fb0ae4 fixes this issue

I'm still seeing this behavior. As I understand the fix, it should have taken effect as soon as the playbook was run.

Metadata Update from @bcotton:
- Issue status updated to: Open (was: Closed)

Ah whoops. That last commit was setting it for fedoraproject.org, but the fmw download is off getfedora.org.

New PR/freeze break: https://pagure.io/fedora-infra/ansible/pull-request/247

fedora-infra/ansible#247 has been approved and merged so this issue should be fixed (for good this time!).

Let us know if that's not the case :]

Metadata Update from @pingou:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Assuming the playbook ran and httpd reloaded, it looks like it's still not fixed. :-( Still getting the browser's best attempt at rendering the dmg.

Metadata Update from @bcotton:
- Issue status updated to: Open (was: Closed)

The proxy playbook is still running. It takes a long time.... because some of the proxies are very far away network wise.

I'll test it after it finishes.

ok, now it's finished.

It seems working to me, please test?

curl -v -o/dev/null https://getfedora.org/fmw/FedoraMediaWriter-osx-latest.dmg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 8.43.85.67:443...
* Connected to getfedora.org (8.43.85.67) port 443 (#0)
...
< content-type: application/octet-stream

Looks good to me! Tested on Chrome, Safari, and Firefox on macOS 10.15.6.

Metadata Update from @bcotton:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata
Related Pull Requests