We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 180776d commit 2733c4cCopy full SHA for 2733c4c
src/Server/Transport/HttpTransport.php
@@ -52,7 +52,7 @@ public function run(): Response|StreamedResponse
52
}
53
54
// Must be 202 - https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#sending-messages-to-the-server
55
- $statusCode = $this->reply === null || $this->reply === '' || $this->reply === '0' ? 202 : 200;
+ $statusCode = $this->reply === null ? 202 : 200;
56
$response = response($this->reply, $statusCode, $this->getHeaders());
57
58
assert($response instanceof Response);
0 commit comments