microsoft / microsoft/playwright
[Feature] `Response.bodyAsStream()`
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 96.3k
- Forks
- 6.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 180
Description
As suggested in https://github.com/microsoft/playwright/issues/7466: Opening a new issue to enquire about a `Response.bodyAsStream()` feature.
It would be convenient to be able to access the body of a response before the request is finished.
For example, audio and video streams may not have a predetermined end: this feature would make it possible to capture an excerpt.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the discussion in issue #7466 and the existing Response API entry point named in this request, `Response.bodyAsStream()`. Define how response data should become available before request completion and how an excerpt can be captured from an open-ended audio or video stream; completion should include the necessary API behavior and coverage across Playwright's supported browsers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100