refactor!: Change method `HttpResponse.read` from sync to async by Mantisus · Pull Request #1296 · apify/crawlee-python

@Mantisus

Description

  • Makes the read method for HttpResponse asynchronous. This is more consistent in a fully asynchronous framework. More flexible than a synchronous method

@Mantisus

@Mantisus Mantisus changed the title refactor! change method read for Response from sync to async refactor!: Change method read for Response from sync to async

Jul 9, 2025

vdusek

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense, thanks, just please describe it in the upgrading guide 🙂.

@Mantisus Mantisus changed the title refactor!: Change method read for Response from sync to async refactor!: Change method read for HttpResponse from sync to async

Jul 9, 2025

@Mantisus

vdusek

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vdusek vdusek changed the title refactor!: Change method read for HttpResponse from sync to async refactor!: Change method HttpResponse.read from sync to async

Jul 10, 2025