Bug 14592

Summary: Set text/plain mime type for .log files
Product: [Infrastructure] AutoBuilder Reporter: Ross Burton <ross.burton>
Component: autobuilderAssignee: Michael Halstead <mhalstead>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: infras.ab.watcher, Infras.watcher, pidge, randy.macleod
Version: unspecified   
Target Milestone: 3.4 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2021-10-07 12:32:16 UTC
The testreport log files, such as https://autobuilder.yocto.io/pub/non-release/20211002-17/testresults/qemuarm64-ptest/valgrind.log, are served as Content-Type: application/octet-stream. 

This is a pain when reading the logs as you need to download them and open in a text editor.  If they were sent as text/plain then they could be read in the browser.
Comment 1 Michael Halstead 2021-10-07 17:21:15 UTC
I've set ".log" files to the text/plain mime-type. Please reopen the bug if it doesn't work as desired.