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

Lazy evaluation when logging HTTP responses #1121

Open
vinismarques opened this issue Oct 27, 2023 · 0 comments
Open

Lazy evaluation when logging HTTP responses #1121

vinismarques opened this issue Oct 27, 2023 · 0 comments

Comments

@vinismarques
Copy link

vinismarques commented Oct 27, 2023

I found an issue when trying to download big ZIP files (~200 MB) with the HTTP().download() method.

Because currently arguments are always evaluated, the response.text is taking quite some time to compute (practically freezing).

Here is the code exactly where the problem is occurring:

https://github.com/robocorp/rpaframework/blob/3d57f4237c03c53ee290f8223280a21deda126af/packages/main/src/RPA/HTTP.py#L23C53-L23C66

@vinismarques vinismarques changed the title Lazy evaluation of HTTP responses Lazy evaluation when logging HTTP responses Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant