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 #7651/45f98b7d backport][3.9] Fix BadStatusLine message #7667

Conversation

patchback[bot]
Copy link
Contributor

@patchback patchback bot commented Oct 6, 2023

This is a backport of PR #7651 as merged into master (45f98b7).

Can't remember the issue this came up in, but the message in this exception gets escaped and doesn't display correctly.
llhttp has its own messages, so we should display them directly, rather than prefixing it with another message.

(cherry picked from commit 45f98b7)
@patchback patchback bot requested a review from asvetlov as a code owner October 6, 2023 20:22
@patchback patchback bot mentioned this pull request Oct 6, 2023
@codecov
Copy link

codecov bot commented Oct 6, 2023

Codecov Report

Merging #7667 (9a3827d) into 3.9 (b282ff9) will increase coverage by 0.22%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              3.9    #7667      +/-   ##
==========================================
+ Coverage   97.08%   97.31%   +0.22%     
==========================================
  Files         107      107              
  Lines       31816    31822       +6     
  Branches     3005     3714     +709     
==========================================
+ Hits        30888    30967      +79     
+ Misses        708      651      -57     
+ Partials      220      204      -16     
Flag Coverage Δ
CI-GHA 97.22% <100.00%> (+0.19%) ⬆️
OS-Linux 96.91% <100.00%> (+0.71%) ⬆️
OS-Windows 94.42% <100.00%> (+<0.01%) ⬆️
OS-macOS 96.56% <100.00%> (?)
Py-3.10.11 94.33% <100.00%> (+<0.01%) ⬆️
Py-3.10.13 96.75% <100.00%> (?)
Py-3.11.5 96.44% <100.00%> (?)
Py-3.8.10 94.31% <100.00%> (+<0.01%) ⬆️
Py-3.8.18 96.68% <100.00%> (?)
Py-3.9.13 94.31% <100.00%> (+<0.01%) ⬆️
Py-3.9.18 96.72% <100.00%> (?)
Py-pypy7.3.11 96.20% <100.00%> (+<0.01%) ⬆️
VM-macos 96.56% <100.00%> (?)
VM-ubuntu 96.91% <100.00%> (+0.71%) ⬆️
VM-windows 94.42% <100.00%> (+<0.01%) ⬆️

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

Files Coverage Δ
aiohttp/http_exceptions.py 100.00% <100.00%> (ø)
tests/test_http_parser.py 99.17% <100.00%> (+<0.01%) ⬆️

... and 16 files with indirect coverage changes

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

@Dreamsorcerer Dreamsorcerer merged commit 799585d into 3.9 Oct 6, 2023
26 of 31 checks passed
@Dreamsorcerer Dreamsorcerer deleted the patchback/backports/3.9/45f98b7d5b1aacf21a6cf446a5df51ee2ea2b4b7/pr-7651 branch October 6, 2023 21:41
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