Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: headers[headerName].trim is not a function at getCanonicalHeaders #1162

Open
kabo opened this issue Feb 8, 2024 · 1 comment
Open

Comments

@kabo
Copy link

kabo commented Feb 8, 2024

Please see aws/aws-sdk-js-v3#5713

Perhaps that should have been filed here, not sure.

Hopefully someone here has any ideas about a fix or workaround :)

@kabo
Copy link
Author

kabo commented Feb 8, 2024

Error is coming from this line

canonical[canonicalHeaderName] = headers[headerName].trim().replace(/\s+/g, " ");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant