Bug 14505 - Website: wrong content-type for release notes
Summary: Website: wrong content-type for release notes
Status: CLOSED FIXED
Alias: None
Product: Website
Classification: Infrastructure
Component: web-admin (show other bugs)
Version: Production
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Michael Halstead
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-08-11 08:34 UTC by Michael Opdenacker
Modified: 2021-08-11 14:40 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Opdenacker 2021-08-11 08:34:02 UTC
Greetings,

The RELEASENOTES files have a wrong content type: [application/octet-stream]
instead of [text/plain]:

wget http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.10/RELEASENOTES
--2021-08-11 10:26:15--  http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.10/RELEASENOTES
Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)... 198.145.29.63
Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|198.145.29.63|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6532 (6.4K) [application/octet-stream]
Saving to: ‘RELEASENOTES’

Because of that, you cannot directly view the release notes in a browser. You have to open them through a text editor. This is a bit annoying

I see two possible solutions:
- Modify the webserver configuration, so that all the releases/yocto/yocto-*/RELEASENOTES files
- Or rename RELEASENOTES to RELEASENOTES.txt

Cheers,
Michael.
Comment 1 Michael Halstead 2021-08-11 14:32:27 UTC
I've changed the default type for RELEASENOTES and it's working as you describe in wget and Firefox.
Comment 2 Michael Opdenacker 2021-08-11 14:40:42 UTC
Awesome, thanks Michael!
Closing this bug.