Skip to content

Commit bffb965

Browse files
committed
docs: document conflicting content length rejection
1 parent 5f67e03 commit bffb965

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ dev
99
- Support for Python 3.9 has been removed.
1010
- Support for PyPy 3.9 has been removed.
1111
- `Stream.end_stream()` now raises `NoSuchStreamError` or `StreamClosedError` exceptions, instead of a generic `KeyError`.
12+
- Duplicate ``content-length`` headers with different values now raise ``ProtocolError``.
13+
Previously, the first ``content-length`` header was accepted and later conflicting values were ignored.
1214
- **backfill from v4.3.0** Convert emitted events into Python `dataclass`, which introduces new constructors with required arguments.
1315
Instantiating these events without arguments, as previously commonly used API pattern, will no longer work.
1416

0 commit comments

Comments
 (0)