Skip to content

Commit 6ac24b7

Browse files
committed
Match legacy SSE Cache-Control: no-cache, no-transform
1 parent 5820a22 commit 6ac24b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mcp/server/_streamable_http_modern.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ async def _to_jsonrpc_response(
149149

150150
_SSE_HEADERS: Final[list[tuple[bytes, bytes]]] = [
151151
(b"content-type", b"text/event-stream"),
152-
(b"cache-control", b"no-store"),
152+
(b"cache-control", b"no-cache, no-transform"),
153153
(b"connection", b"keep-alive"),
154154
(b"x-accel-buffering", b"no"),
155155
]

0 commit comments

Comments
 (0)