Run transport security tests in process instead of over sockets (#2764)

This commit is contained in:
Max 2026-06-02 20:30:17 +01:00 • committed by GitHub
commit b3025f93b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -669,7 +669,7 @@ class StreamableHTTPServerTransport:
await response(request.scope, request.receive, send)
return
if not await self._validate_request_headers(request, send): # pragma: no cover
if not await self._validate_request_headers(request, send):
return
# Handle resumability: check for Last-Event-ID header