Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Release History
1.4.0 (unreleased)
------------------

- Accept any sequence of ``(name, value)`` header pairs, matching ``h11``.

- Require ``event_hint`` when constructing ``RemoteProtocolError``.
This is an API-breaking change.

Expand Down
4 changes: 2 additions & 2 deletions src/wsproto/typing.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from __future__ import annotations
from typing import Sequence
Comment thread
gyanu2507 marked this conversation as resolved.
Resolved

Headers = list[tuple[bytes, bytes]]
Headers = Sequence[tuple[bytes, bytes]]
Loading