empty-body · Transport & framing
Client hangs or errors with 'empty response' — status is 200 but there are zero bytes.
Handler returns early (e.g. after a nil check) without ever writing a body.
Always write a JSON-RPC result or error; never fall through silently.
curl -sS -X POST \
https://chaos-mcp.thomascdnns.com/s/empty-body/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {},
"clientInfo": {"name": "curl", "version": "1"}
}
}'