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

Deal with case sensitive header names #52

Open
thomaswinkler opened this issue Jan 31, 2024 · 1 comment
Open

Deal with case sensitive header names #52

thomaswinkler opened this issue Jan 31, 2024 · 1 comment

Comments

@thomaswinkler
Copy link
Collaborator

cy.c8yclient and cy.intercept might record headers with different case, such as X-XSRF-TOKEN and x-xsrf-token. To make records always work, headers need to be treated case insensitive. Same for preprocessor paths, etc.

All lowercase recording?

@thomaswinkler
Copy link
Collaborator Author

An option might be simply to use the preprocessor to lowercase all headers.

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

No branches or pull requests

1 participant