fix(playwright): dispose of `APIResponse` body for `send_request` by kozlice · Pull Request #1771 · apify/crawlee-python

@kozlice

Dispose of Playwright's APIResponse body, otherwise it stays in memory until the context closes.

If not done, this can lead to excessive memory usage during crawling when using `send_request` within a handler.

@kozlice changed the title fix(playwright): dispose of APIResponse body fix(playwright): dispose of APIResponse body for send_request

Mar 1, 2026

@kozlice

Mantisus