WUI: the Upload results page should have both view and download links #1551

Open
opened 2011-09-30 04:46:42 +00:00 by davidsarah · 1 comment
davidsarah commented 2011-09-30 04:46:42 +00:00
Owner

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.

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.
tahoe-lafs added the
code-frontend-web
major
defect
1.9.0a2
labels 2011-09-30 04:46:42 +00:00
tahoe-lafs added this to the 1.11.0 milestone 2011-09-30 04:46:42 +00:00

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.

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.
zooko modified the milestone from 1.11.0 to eventually 2013-08-09 18:04:09 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#1551
No description provided.