Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#13587 closed bug (duplicate)

Webpositive : Download HPKG files

Reported by: lelldorin Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Applications/WebPositive Version: R1/Development
Keywords: Cc:
Blocked By: #10617 Blocking:
Platform: All

Description

I had actually expected that the haiku own package system from the native browser are recognized.

Unfortunately, the hpkg file, when trying to download it, is opened into the browser and not like other packages (zip, tar ...) get ready for download.

This should be changed.

Attachments (1)

haikudepot_web.png (274.9 KB ) - added by lelldorin 7 years ago.
loaded hpkg file in the browser

Download all attachments as: .zip

Change History (4)

by lelldorin, 7 years ago

Attachment: haikudepot_web.png added

loaded hpkg file in the browser

comment:1 by lelldorin, 7 years ago

patch: 01

comment:2 by diver, 7 years ago

Blocked By: 10617 added
Component: - GeneralApplications/WebPositive
Keywords: hpkg download browser packages webpositive removed
Priority: highnormal
Resolution: duplicate
Status: newclosed

Please try to take a look at WebPositive component to see if it was already reported before. Extra points for setting a component.

comment:3 by pulkomandy, 7 years ago

This is a problem on the web server side. They set the MIME type to text/plain for unknown files, and as a result, the browser handles them as text file. If you configure the web browser to set them with a proper mime type, they will be downloaded instead. The web browser could try to workaround this (by scanning the file contents and not trusting the web server), but fixing the web server is the proper solution. Now we need to get apache to properly MIME-sniff hpkg files...

Note: See TracTickets for help on using tickets.