Skip to content

Investigate logging streaming HTTP responses in DevToolsPlugin #1298

@waldekmastykarz

Description

@waldekmastykarz

Background

Currently, when an intercepted HTTP request returns a streaming response, it appears in Chrome DevTools (via the DevToolsPlugin) but no response body is shown. However, Dev Proxy is correctly intercepting these responses, as evidenced by mocks generated using the MockGeneratorPlugin.

Investigation

  • Investigate how streaming HTTP responses are currently handled in the DevToolsPlugin when reporting/interacting with the browser's DevTools via the DevTools Protocol.
  • Verify how the MockGeneratorPlugin is able to capture and display streaming responses.
  • Research if there are additional or alternative methods in the DevTools Protocol that need to be used to properly log or display streaming responses in the DevTools UI.
  • Document findings and propose code changes or protocol adjustments if required to enable proper logging of streaming HTTP responses.

Acceptance Criteria

  • The investigation should clarify why streaming responses are not displayed in DevTools, despite being intercepted elsewhere.
  • Suggestions or a plan for next steps to resolve the issue, if possible.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions