#9310 Wrong mimetype on Fedora Media Writer macOS download
Closed: Fixed 4 years ago by bcotton. Opened 4 years ago 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

4 years ago

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

4 years ago

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

4 years ago

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)

4 years ago

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)

4 years ago

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)

4 years ago

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)

4 years ago

Log in to comment on this ticket.

Metadata
Boards 1
ops Status: Done
Related Pull Requests
  • #243 Merged 4 years ago