Run transport security tests in process instead of over sockets (#2764)
This commit is contained in:
parent
ed6adeee7e
commit
b3025f93b4
1 changed files with 212 additions and 454 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue