<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14505</bug_id>
          
          <creation_ts>2021-08-11 08:34:02 +0000</creation_ts>
          <short_desc>Website: wrong content-type for release notes</short_desc>
          <delta_ts>2021-08-11 14:40:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>Website</product>
          <component>web-admin</component>
          <version>Production</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Opdenacker">michael.opdenacker</reporter>
          <assigned_to name="Michael Halstead">mhalstead</assigned_to>
          <cc>jefro</cc>
    
    <cc>ndec13</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>91139</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2021-08-11 08:34:02 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91145</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2021-08-11 14:32:27 +0000</bug_when>
    <thetext>I&apos;ve changed the default type for RELEASENOTES and it&apos;s working as you describe in wget and Firefox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91146</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2021-08-11 14:40:42 +0000</bug_when>
    <thetext>Awesome, thanks Michael!
Closing this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>