Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/modelcontextprotocol/python-sdk
/ remove_request_params
Function
remove_request_params
src/mcp/client/sse.py:21–22 ·
view source on GitHub ↗
(url: str)
Source
from the content-addressed store, hash-verified
19
20
21
def
remove_request_params(url: str) -> str:
22
return
urljoin(url, urlparse(url).path)
23
24
25
def
_extract_session_id_from_endpoint(endpoint_url: str) -> str | None:
Callers
1
sse_client
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected