-
-
Notifications
You must be signed in to change notification settings - Fork 671
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Caused by: de7dc7f
const { fetch } = require('./')
const assert = require('assert')
const input = "data: ;charset=x ; base64,WA"
const expectedMimeType = "text/plain;charset=x"
const expectedBody = [88]
fetch(input).then(res => {
return res.arrayBuffer().then(body => {
assert.deepEqual(new Uint8Array(body), new Uint8Array(expectedBody))
assert.equal(res.headers.get("content-type"), expectedMimeType)
})
})
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working