Body mixin in undici.request and undici.fetch when returning a Blob should also set Blob.type to the corresponding content-type header from the response.
Search for new Body and you should pass in a type in new Blob(chunks, { type: headers['content-type'] }).
Don't forget tests.
Body mixin in
undici.requestandundici.fetchwhen returning aBlobshould also setBlob.typeto the correspondingcontent-typeheader from the response.Search for
new Bodyand you should pass in atypeinnew Blob(chunks, { type: headers['content-type'] }).Don't forget tests.