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 — Z_DATA_ERROR when fetching a "Content-Encoding: gzip, deflate" response from the server · Issue #3762 · nodejs/undici Closed Labels bugSomething isn't working DescriptionBug Description
Reproducible ByHere's a 0 dependency reproduction:
Here's a copy-pastable reproduction: import http from 'node:http' import zlib from 'node:zlib' const server = new http.Server((req, res) => { res.setHeader('content-encoding', 'gzip, deflate') res.end(zlib.deflateSync(zlib.gzipSync('hello world'))) }) server.listen(56789, async () => { const response = await fetch('http://localhost:56789/', { headers: { 'accept-encoding': 'gzip, deflate' }, }) const text = await response.text() console.assert(text === 'hello world') }) Expected Behavior
Logs & ScreenshotsEnvironmentReproducible on all versions of Node:
Reacted by Michael Solomon Activity
MetadataMetadataAssigneesLabelsbugSomething isn't working TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — 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. |