镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

--experimental-network-inspection not working properly with gzip, br, zstd and response #61222

Description

@rubnogueira

Version

24.12.0

Platform

Linux f6656b111cde 6.17.8-orbstack-00308-g8f9c941121b1 #1 SMP PREEMPT Thu Nov 20 09:34:02 UTC 2025 aarch64 Linux

Subsystem

No response

What steps will reproduce the bug?

Make a request with accept-encoding: gzip, deflate and receive an HTTPS response with content-encoding: gzip.

When we are opening the response on devtools, all the response is full of symbols. I'm able to use the response normally in the code.

How often does it reproduce? Is there a required condition?

Always. Disabling gzip I can read the response normally on DevTools.

node -r ts-node/register -r tsconfig-paths/register --experimental-network-inspection --experimental-inspector-network-resource --inspect=0.0.0.0:3123 --nolazy src/index.ts

Running the code in the container, connect devtools with port 3123, and make the request.

What is the expected behavior? Why is that the expected behavior?

Read the response, no matter the encoding. I am not sure if it applies with brotli or deflate.

What do you see instead?

N/A

Additional information

Repro: https://github.com/rubnogueira/nodejs-repro-61222

Edit: also not working with br and zstd

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    inspectorIssues and PRs related to the V8 inspector protocol.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions