Joerg Jaspert writes ("Re: Bug#840250: closed by Joerg Jaspert
<[email protected]> (done (Allow to query for files in archive, closes:
#840250))"):
> It is, you just need to do it correctly.
> https://api.ftp-master.debian.org/file_in_archive/%25dgit_1.4.tar.gz
>
> [{"sha256sum":
> "beee556e6bf0de96f15b60ede2775efd9763ede1976f29c6c25d0b770513fd01",
> "filename": "d/dgit/dgit_1.4.tar.gz"}]
Ah. I could swear I tried that yesterday, but evidently not.
Should the docs eventually appear here
https://ftp-master.debian.org/epydoc/dakweb-module.html
?
> (Or, probably, haven't tested that, correctly URL encode the /, its part
> of the parameter that the function gets.)
Maybe that's what went wrong yesterday, because:
https://api.ftp-master.debian.org/file_in_archive/%25%2fdgit_1.4.tar.gz
=> 404 The requested URL /file_in_archive/%/dgit_1.4.tar.gz was not found on
this server
OTOH this
https://api.ftp-master.debian.org/file_in_archive/%25dgit%5C_1.4.tar.gz
does work, at least.
Thanks,
Ian.
--
Ian Jackson <[email protected]> These opinions are my own.
If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.