-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Use iter_encoded in calculate_content_length #980
Use iter_encoded in calculate_content_length #980
Conversation
8a30567
to
17c8eb5
Compare
Thanks, could you remove the issue URL from the title and put |
sure! Done. |
Actually I don't like the approach. It would be cool to encode response one time and use it for content_length and other places (as @touilleMan mentioned). But it needs much more changes which can bring other errors. |
I'd actually welcome a PR that refactors |
17c8eb5
to
464b2b9
Compare
@untitaker I have added a PR which implement caching for the Response's |
Hi! what about this PR? |
It is dependent on #992 IMO and I still have to review that |
Not sure that these are dependent PR's. |
Sorry for the late response. I think that |
Thanks, and sorry for the long wait. |
Fix #705