mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
🐛 Make sure that header keys are always lower case #2663
This commit is contained in:
parent
55139a4e6c
commit
1566dafb3e
|
@ -851,6 +851,9 @@ export class HttpRequest implements INodeType {
|
|||
}
|
||||
};
|
||||
requestOptions[optionName][parameterDataName] = computeNewValue(requestOptions[optionName][parameterDataName]);
|
||||
} else if (optionName === 'headers') {
|
||||
// @ts-ignore
|
||||
requestOptions[optionName][parameterDataName.toString().toLowerCase()] = newValue;
|
||||
} else {
|
||||
// @ts-ignore
|
||||
requestOptions[optionName][parameterDataName] = newValue;
|
||||
|
|
Loading…
Reference in a new issue