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

[PR #7283/0e7c272f backport][3.9] Add note about updating headers in on_response_prepare #7294

Conversation

patchback[bot]
Copy link
Contributor

@patchback patchback bot commented May 17, 2023

This is a backport of PR #7283 as merged into master (0e7c272).

Fixes #6443.

It seems like it'll be easier just to document this. Only solution that looks like it'd work is to update the Content-Length header every time the body is changed, but that could incur a performance penalty for little reason.

Fixes #6443.

It seems like it'll be easier just to document this. Only solution that
looks like it'd work is to update the Content-Length header every time
the body is changed, but that could incur a performance penalty for
little reason.

(cherry picked from commit 0e7c272)
@codecov
Copy link

codecov bot commented May 17, 2023

Codecov Report

Merging #7294 (505b94f) into 3.9 (9258d34) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              3.9    #7294   +/-   ##
=======================================
  Coverage   97.31%   97.31%           
=======================================
  Files         107      107           
  Lines       31649    31649           
  Branches     4027     4027           
=======================================
  Hits        30800    30800           
  Misses        643      643           
  Partials      206      206           
Flag Coverage Δ
CI-GHA 97.21% <ø> (ø)
OS-Linux 96.89% <ø> (ø)
OS-Windows 94.52% <ø> (ø)
OS-macOS 96.48% <ø> (ø)
Py-3.10.11 96.96% <ø> (ø)
Py-3.11.0 96.41% <ø> (ø)
Py-3.7.16 96.70% <ø> (ø)
Py-3.7.9 94.36% <ø> (ø)
Py-3.8.10 94.30% <ø> (ø)
Py-3.8.16 96.61% <ø> (ø)
Py-3.9.13 94.30% <ø> (ø)
Py-3.9.16 96.65% <ø> (ø)
Py-pypy7.3.11 94.03% <ø> (-0.01%) ⬇️
VM-macos 96.48% <ø> (ø)
VM-ubuntu 96.89% <ø> (ø)
VM-windows 94.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Dreamsorcerer Dreamsorcerer merged commit 3de86c1 into 3.9 May 17, 2023
@Dreamsorcerer Dreamsorcerer deleted the patchback/backports/3.9/0e7c272f8b7e7c610819ee362aeae234c308449c/pr-7283 branch May 17, 2023 16:54
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

Successfully merging this pull request may close these issues.

1 participant