Skip to content

Conversation

@patchback
Copy link
Contributor

@patchback patchback bot commented Sep 1, 2024

This is a backport of PR #7168 as merged into master (8a525d9).

What do these changes do?

Fixes #7167

In case of empty payload when initialized, it now assigns the payload as EMPTY_RESPONSE instance of EmptyStreamReader available via aiohttp/streams.py

Are there changes in behavior for the user?

No

Related issue number

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • If you provide code modification, please add yourself to CONTRIBUTORS.txt
    • The format is <Name> <Surname>.
    • Please keep alphabetical order, the file is sorted by names.
  • Add a new news fragment into the CHANGES folder
    • name it <issue_id>.<type> for example (588.bugfix)
    • if you don't have an issue_id change it to the pr id after creating the pr
    • ensure type is one of the following:
      • .feature: Signifying a new feature.
      • .bugfix: Signifying a bug fix.
      • .doc: Signifying a documentation improvement.
      • .removal: Signifying a deprecation or removal of public API.
      • .misc: A ticket has been closed, but it is not of interest to users.
    • Make sure to use full sentences with correct case and punctuation, for example: "Fix issue with non-ascii contents in doctest text files."

@codecov
Copy link

codecov bot commented Sep 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.73%. Comparing base (b73a4c1) to head (2ed6c25).
Report is 569 commits behind head on 3.11.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             3.11    #8970   +/-   ##
=======================================
  Coverage   97.73%   97.73%           
=======================================
  Files         108      108           
  Lines       34367    34369    +2     
  Branches     4080     4079    -1     
=======================================
+ Hits        33590    33592    +2     
  Misses        581      581           
  Partials      196      196           
Flag Coverage Δ
CI-GHA 97.63% <100.00%> (+<0.01%) ⬆️
OS-Linux 97.32% <100.00%> (+<0.01%) ⬆️
OS-Windows 94.87% <100.00%> (+<0.01%) ⬆️
OS-macOS 97.00% <100.00%> (-0.01%) ⬇️
Py-3.10.11 97.09% <100.00%> (+<0.01%) ⬆️
Py-3.10.14 97.02% <100.00%> (+<0.01%) ⬆️
Py-3.11.9 97.25% <100.00%> (+<0.01%) ⬆️
Py-3.12.5 97.35% <100.00%> (+<0.01%) ⬆️
Py-3.9.13 96.99% <100.00%> (+<0.01%) ⬆️
Py-3.9.19 96.93% <100.00%> (+<0.01%) ⬆️
Py-pypy7.3.16 96.52% <100.00%> (-0.01%) ⬇️
VM-macos 97.00% <100.00%> (-0.01%) ⬇️
VM-ubuntu 97.32% <100.00%> (+<0.01%) ⬆️
VM-windows 94.87% <100.00%> (+<0.01%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Dreamsorcerer Dreamsorcerer merged commit 9503cf7 into 3.11 Sep 1, 2024
@Dreamsorcerer Dreamsorcerer deleted the patchback/backports/3.11/8a525d98c512e624311b16e9891cac9050cc8b8c/pr-7168 branch September 1, 2024 18:00
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.

3 participants