File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141
4242def make_unicode_server_app () -> Starlette : # pragma: no cover
4343 """Create the Unicode test server."""
44+
4445 # Need to recreate the server setup in this process
4546 async def handle_list_tools (
4647 ctx : ServerRequestContext , params : types .PaginatedRequestParams | None
Original file line number Diff line number Diff line change @@ -141,9 +141,7 @@ async def test_sse_security_post_invalid_content_type():
141141 assert response .text == "Invalid Content-Type header"
142142
143143 # Test POST with missing content type
144- response = await client .post (
145- f"{ server_url } /messages/?session_id={ fake_session_id } " , content = "test"
146- )
144+ response = await client .post (f"{ server_url } /messages/?session_id={ fake_session_id } " , content = "test" )
147145 assert response .status_code == 400
148146 assert response .text == "Invalid Content-Type header"
149147
You can’t perform that action at this time.
0 commit comments