mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
fix(ext/fetch): blob url (#16057)
Co-authored-by: Luca Casonato <hello@lcas.dev>
This commit is contained in:
parent
a3b4037c8a
commit
7a47321b09
2 changed files with 21 additions and 1 deletions
|
@ -165,6 +165,7 @@
|
|||
|
||||
const body = new InnerBody(req.blobUrlEntry.stream());
|
||||
terminator[abortSignal.add](() => body.error(terminator.reason));
|
||||
processUrlList(req.urlList, req.urlListProcessed);
|
||||
|
||||
return {
|
||||
headerList: [
|
||||
|
@ -179,7 +180,9 @@
|
|||
if (this.urlList.length == 0) return null;
|
||||
return this.urlList[this.urlList.length - 1];
|
||||
},
|
||||
urlList: recursive ? [] : [...new SafeArrayIterator(req.urlList)],
|
||||
urlList: recursive
|
||||
? []
|
||||
: [...new SafeArrayIterator(req.urlListProcessed)],
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue