Uh oh!
There was an error while loading. Please reload this page.
Fix zero length chunked response regression - #256
Conversation
Narrowed it down to this line (added in #245) Line 65 in 9ab2afc Removing it here, resolves the issue. /CC @ShogunPanda Would you mind taking a look? |
bdraco
commented
Oct 18, 2023
Looks like that fix causes other tests to fail https://github.com/bdraco/llhttp/actions/runs/6566967226/job/17838778913?pr=1 Digging... |
bdraco
commented
Oct 18, 2023
Test existing test was missing the ending 0 https://github.com/bdraco/llhttp/actions/runs/6567209475?pr=1 |
bdraco
commented
Oct 23, 2023
@ShogunPanda Sorry for the ping, can you take a look at this PR? Thanks! |
tatsuhiro-t
commented
Oct 27, 2023
RFC 9112 dictates that 304 response does not have message body.
and
It is allowed to send transfer-encoding header field in 304 response, but it must be ignored because the message body must be empty. I think this PR should be reverted. |
bdraco
commented
Oct 27, 2023
Unfortunately this means this is a breaking change between 8.x and 9.x, but I agree with how you read the rfc. |
This reverts commit 8acaf3c.
ShogunPanda
commented
Oct 27, 2023
Reverted in #262. |
This test fails on 9.1.3 but passes on 8.1.1
related issues aio-libs/aiohttp#7697home-assistant/core#101893home-assistant/core#101913