HostedFiles: need url for viewing file content online
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In Launchpad, you can access a file attachment via a launchpad librarian URL. For instance:
http://
However, from the bug object itself, it doesn't appear possible to determine this URL. Here's the info I can access:
title: BootDmesg.txt
subject: Re: xorg eats up all my CPU
filename: BootDmesg.txt
owner: Nicolò Chieffo
created: 2009-08-28 15:38:32.
modified: Fri, 28 Aug 2009 16:38:32 GMT
ispatch: Unspecified
http_etag: "d885865de3b906
content-type: text/plain; charset="utf-8"
a.url: https:/
fb.url: https:/
data.params: []
data.wadl: <wadllib.
isatty: False
len: 53176
mode: r
pos: 0
softspace: 0
Most notably, the fb.url object seems to not work, even if I try permutations such as:
https:/
It would be helpful either to have a way to determine the launchpadlibrar
summary: |
- attachments: need url for viewing file content online + HostedFiles: need url for viewing file content online |
tags: | added: patch-tracking story-patch-report ui |
Bryce, I expect you know that the fb.url (https:/ /api.edge. launchpad. net/beta/ bugs/420600/ +attachment/ 686514/ data in your example) redirects to the launchpadlibrarian URL. I don't understand your use case enough to see why that is insufficient. Could you explain?
Thank you