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
But this does not define exactly where the stream error occurs, which could lead to differences in how websites are displayed or more arbitrary responses are interpreted.
What seems reasonable to me, but this needs tests:
If Content-Length is less: you get all the bytes and then an error.
If Content-Length is more: you get all the bytes up to the length indicated by Content-Length and then an error.
I guess there's also a question if Content-Length gets parsed in the same way here as it does for HTTP/1. Ideally yes?
The text was updated successfully, but these errors were encountered:
When there is a mismatch with Content-Length in HTTP/2 it's considered a malformed response: https://www.rfc-editor.org/rfc/rfc9113.html#section-8.1.1
But this does not define exactly where the stream error occurs, which could lead to differences in how websites are displayed or more arbitrary responses are interpreted.
What seems reasonable to me, but this needs tests:
I guess there's also a question if Content-Length gets parsed in the same way here as it does for HTTP/1. Ideally yes?
The text was updated successfully, but these errors were encountered: