Opened at 2011-09-30T04:46:42Z
Last modified at 2013-08-09T18:04:09Z
#1551 new defect
WUI: the Upload results page should have both view and download links
Reported by: | davidsarah | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | eventually |
Component: | code-frontend-web | Version: | 1.9.0a2 |
Keywords: | usability wui | Cc: | |
Launchpad Bug: |
Description
The Download link on the WUI results page causes a browser to download the file rather than view it. This is fine, but there should also be a view link.
Change History (2)
comment:1 Changed at 2011-09-30T17:09:39Z by zooko
comment:2 Changed at 2013-08-09T18:04:09Z by zooko
- Milestone changed from 1.11.0 to eventually
Note: See
TracTickets for help on using
tickets.
I like the idea, but I'm not sure how to accomplish it.
Immutable uploads don't include metadata about the file type, not even a filename whose extension provides a hint. Therefore we can't really tell the browser what to do with the file other than download it as type "application/octet-stream".
Perhaps the immutable upload could accept a filename as well and construct a url of the form /file/$IMMCAP/@@named=/$FILENAME.
See also #827, #277, and #307.