GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — fetching files renders invalid blob · Issue #145 · developit/unfetch Open DescriptionHow it should be let e = await fetch('https://i.imgur.com/4AiXzf8.jpg') // Response { type: "cors", url: "https://i.imgur.com/4AiXzf8.jpg", redirected: false, status: 200, ok: true, statusText: "OK", headers: // Headers, body: ReadableStream, bodyUsed: false } await e.blob() // Blob { size: 87363, type: "image/jpeg" } How it is with unfetch let e = await fetch('https://i.imgur.com/4AiXzf8.jpg') // Object { ok: true, statusText: "OK", status: 200, url: "https://i.imgur.com/4AiXzf8.jpg", text: text(), json: json(), blob: blob(), clone: a(), headers: {…} } await e.blob() // Blob { size: 156997, type: "" } Note how the blob's size is different and the type is missing. That can also be confirmed by using Reacted by ELFrontEnd Activity
MetadataMetadataAssigneesLabelsNo labels ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |