You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing the python-aiohttp package in Fedora Linux with the new llhttp 8.1.1 release, I found that there is one regression in the test suite compared to llhttp 8.1.0.
I have not looked into this very closely, but I suspect this is related to #7165 and to nodejs/llhttp#217, which was released as in llhttp 8.1.1.
To Reproduce
gh repo clone aio-libs/aiohttp
cd aiohttp
git submodule update --init
python3 -m venv _e
. _e/bin/activate
pip install -e .[speedups]
make test
Should a two-digit HTTP status be considered valid? If not, the fix may be as simple as changing this aiohttp test to expect an invalid status code. There is now a test in llhttp verifying that one-digit status codes are (now) considered invalid, but no test either way for two-digit ones.
Hmm, the test looks like it was a deliberate idea to support it in aiohttp. Probably also related to #5269 (comment) which I suspect will allow the value in llhttp (though I've not checked).
Describe the bug
While testing the
python-aiohttp
package in Fedora Linux with the newllhttp
8.1.1 release, I found that there is one regression in the test suite compared tollhttp
8.1.0.I have not looked into this very closely, but I suspect this is related to #7165 and to nodejs/llhttp#217, which was released as in
llhttp
8.1.1.To Reproduce
(Confirm all tests pass.)
Update
llhttp
tov8.1.1
:Now run the tests again:
Expected behavior
All tests pass.
Logs/tracebacks
aiohttp Version
multidict Version
yarl Version
OS
Fedora Linux 38 (originally found on Rawhide/F39).
Related component
Client
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: