fix: Add Accept header to auth metadata request (#901)
This commit is contained in:
parent
c84ef24215
commit
8f4150e5a0
1 changed files with 6 additions and 2 deletions
|
|
@ -863,7 +863,8 @@ describe('OAuth Authorization', () => {
|
|||
const calls = mockFetch.mock.calls;
|
||||
const [, options] = calls[0];
|
||||
expect(options.headers).toEqual({
|
||||
'MCP-Protocol-Version': '2025-01-01'
|
||||
'MCP-Protocol-Version': '2025-01-01',
|
||||
Accept: 'application/json'
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue