webapi should allow save-to-disk #222

Closed
opened 2007-12-06 01:40:46 +00:00 by warner · 2 comments
warner commented 2007-12-06 01:40:46 +00:00
Owner

our webapi.txt suggests that you can append '?save=filename' to a GET url to make the server add a Content-Disposition header that says "attachment", which will prompt most browsers to save the file rather than display it.

This option isn't actually implemented yet. Justin was hoping to have an option like this.

I've written the code for it, and tested it manually, but I haven't figured out a way to unit test it yet (twisted.web.client doesn't make it easy to get access to the response headers).

our webapi.txt suggests that you can append '?save=filename' to a GET url to make the server add a Content-Disposition header that says "attachment", which will prompt most browsers to save the file rather than display it. This option isn't actually implemented yet. Justin was hoping to have an option like this. I've written the code for it, and tested it manually, but I haven't figured out a way to unit test it yet (twisted.web.client doesn't make it easy to get access to the response headers).
tahoe-lafs added the
code-frontend-web
major
defect
0.6.1
labels 2007-12-06 01:40:46 +00:00
tahoe-lafs added this to the undecided milestone 2007-12-06 01:40:46 +00:00
zooko commented 2007-12-07 12:43:25 +00:00
Author
Owner

This ticket would solve Jonathan's issue, so I'm putting this ticket into Milestone v0.7.0 and bumping #221 out.

This ticket would solve Jonathan's issue, so I'm putting this ticket into Milestone v0.7.0 and bumping #221 out.
tahoe-lafs modified the milestone from undecided to 0.7.0 2007-12-07 12:43:25 +00:00
warner commented 2007-12-12 00:05:02 +00:00
Author
Owner

done, in changeset:b085097adcb38bc7.

done, in changeset:b085097adcb38bc7.
tahoe-lafs added the
fixed
label 2007-12-12 00:05:02 +00:00
warner closed this issue 2007-12-12 00:05:02 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

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