Missing Mcp-Protocol-Version to access control (#110)
This commit is contained in:
parent
54a5d1495c
commit
6100ffcf3f
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class StreamableHttpTransport implements TransportInterface
|
||||||
private array $corsHeaders = [
|
private array $corsHeaders = [
|
||||||
'Access-Control-Allow-Origin' => '*',
|
'Access-Control-Allow-Origin' => '*',
|
||||||
'Access-Control-Allow-Methods' => 'GET, POST, DELETE, OPTIONS',
|
'Access-Control-Allow-Methods' => 'GET, POST, DELETE, OPTIONS',
|
||||||
'Access-Control-Allow-Headers' => 'Content-Type, Mcp-Session-Id, Last-Event-ID, Authorization, Accept',
|
'Access-Control-Allow-Headers' => 'Content-Type, Mcp-Session-Id, Mcp-Protocol-Version, Last-Event-ID, Authorization, Accept',
|
||||||
];
|
];
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue