docs(download): clarify authorization header

This commit is contained in:
Anton Strogonoff 2021-11-29 02:58:43 +01:00
parent 40dcf09aaf
commit e04a61151f

View file

@ -32,6 +32,7 @@ function isValidLFSInfoResponseData(val: Record<string, any>): val is LFSInfoRes
/** /**
* Downloads, caches and returns a blob corresponding to given LFS pointer. * Downloads, caches and returns a blob corresponding to given LFS pointer.
* Currently, the authorization header is responsibility of the caller.
*/ */
export default async function downloadBlobFromPointer( export default async function downloadBlobFromPointer(
{ http: { request }, headers = {}, url }: DownloadBlobRequset, { http: { request }, headers = {}, url }: DownloadBlobRequset,