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 2ab7f42 commit 8c3c968Copy full SHA for 8c3c968
src/transports/streamableHttp.ts
@@ -46,7 +46,7 @@ export class StreamableHttpRunner extends TransportRunnerBase {
46
app.use(express.json());
47
app.use((req, res, next) => {
48
for (const [key, value] of Object.entries(this.userConfig.httpHeaders)) {
49
- const header = req.headers[key];
+ const header = req.headers[key.toLowerCase()];
50
if (!header || header !== value) {
51
res.status(403).send({ error: `Invalid value for header "${key}"` });
52
return;
0 commit comments