func (handleDownloadDeps) ExtractDownloadRequest(req *http.Request) string { return api.ExtractDownloadRequest(req) }
// HandleDownload implements LegacyHTTPHandlerDeps. func (deps legacyHTTPHandlerDeps) HandleDownload(opener resource.Opener, req *http.Request) (resource.Opened, error) { name := api.ExtractDownloadRequest(req) return opener.OpenResource(name) }