Follow redirects only within the MCP endpoint's origin (#3397)
This commit is contained in:
parent
5fd3abc548
commit
c6762e821c
1 changed files with 1029 additions and 205 deletions
|
|
@ -94,7 +94,7 @@ That trailing `/mcp` is `streamable_http_path`. Set it to `"/"` and the mount pr
|
|||
--8<-- "docs_src/asgi/tutorial004.py"
|
||||
```
|
||||
|
||||
Now clients connect to `/notes`, not `/notes/mcp`.
|
||||
Now clients connect to `/notes/`, not `/notes/mcp`.
|
||||
|
||||
## CORS for browser clients
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue