Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 567922

Summary: Downloads area incorrectly serve some files as text
Product: Community Reporter: Rob Moran <rob.moran>
Component: WebsiteAssignee: phoenix.ui <phoenix.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chris.guindon, denis.roy, nobody
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Rob Moran CLA 2020-10-16 04:57:34 EDT
Since building new installers for ecd.Theia, I've noticed that the MacOS .pkg installers cannot be directly downloaded from the download servers.

They instead open as a text file in the browser. e.g:

https://download.eclipse.org/theia/1.6.0/macos/Theia-1.6.0.pkg

Is it possible there is a mime type issue here?

Cheers,

Rob
Comment 1 Denis Roy CLA 2020-10-20 10:59:14 EDT
We'll need to set the MIME type for .pkg files.

The closest I can find is application/vnd.apple.installer+xml, which is what OSU OSL uses, but some mirrors use the generic application/octet-stream.

I'll go with application/vnd.apple.installer+xml
Comment 3 Christopher Guindon CLA 2020-11-10 08:42:10 EST
(In reply to Rob Moran from comment #0)
> Since building new installers for ecd.Theia, I've noticed that the MacOS
> .pkg installers cannot be directly downloaded from the download servers.
> 
> They instead open as a text file in the browser. e.g:
> 
> https://download.eclipse.org/theia/1.6.0/macos/Theia-1.6.0.pkg
> 
> Is it possible there is a mime type issue here?
> 
> Cheers,
> 
> Rob

This is now working for me!

Closing!