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
test: cover the pre-session security check + fix pyright annotation
- Add ``test_bad_host_header_rejected_before_session_allocation`` that
drives the DNS-rebinding branch of the manager and asserts the
request is rejected with 421 without allocating a session. Restores
the strict 100% coverage on ``streamable_http_manager.py``.
- Suppress the pyright ``reportUnknownMemberType`` on
``manager._task_group._tasks`` — that attribute is private anyio
internals with no exported type, but we deliberately introspect it to
prove the leaked task from the original bug is no longer spawned.
0 commit comments