Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support getting response body for network responses #747

Open
OrKoN opened this issue Jul 16, 2024 · 0 comments
Open

Support getting response body for network responses #747

OrKoN opened this issue Jul 16, 2024 · 0 comments
Labels
enhancement New feature or request module-network Network module needs-discussion Issues to be discussed by the working group

Comments

@OrKoN
Copy link
Contributor

OrKoN commented Jul 16, 2024

Issue #541 asks for a mechanism to alter the response body when intercepting a request. This issue on the other hand is specifically about reading the body of network responses in responseCompleted events with or without the interception.

In Puppeteer, it is exposed via https://pptr.dev/api/puppeteer.httpresponse.buffer and https://pptr.dev/api/puppeteer.httpresponse.json

Probably adding support for fetching response bodies would require adding a new method and a way to deal with blobs in the protocol.

@OrKoN OrKoN added the needs-discussion Issues to be discussed by the working group label Jul 16, 2024
@whimboo whimboo added enhancement New feature or request module-network Network module labels Jul 16, 2024
@whimboo whimboo changed the title Support getting request body for network requests Support getting response body for network requests Oct 16, 2024
@whimboo whimboo changed the title Support getting response body for network requests Support getting response body for network responses Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module-network Network module needs-discussion Issues to be discussed by the working group
Projects
None yet
Development

No branches or pull requests

2 participants