-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[java] case insensitive header names in http requests #14095
[java] case insensitive header names in http requests #14095
Conversation
PR Review 🔍
|
PR Code Suggestions ✨
|
Let's at least wait to merge this after the upcoming release so that Appium can run their tests against nightly and see if it causes them problems before a production release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @iampopovich!
Several tests failed. Can you please check? |
@diemol sure This failure occurs frequently in test runs on Windows and is not directly related to the changes in the pull request. |
i found issue that can help fix it bazelbuild/bazel#19710 |
oh...i see |
@diemol please verify my changes in tests public M setHeader(String name, String value) {
return removeHeader(name.toLowerCase()).addHeader(name.toLowerCase(), value);
} |
i noticed the problem with the formatting 👀 |
@diemol i fixed the tests with headers |
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
I opened PR with initial changes. i have already asked some questions about feature in feature request ticket
I will implement new tests as soon as I get more information about task details
Motivation and Context
according to #12697 I started to discover how to implement this feature
Types of changes
Checklist
PR Type
Enhancement
Description
setHeader
method to ensure case-insensitive handling.addHeader
method to ensure case-insensitive handling.Changes walkthrough 📝
HttpMessage.java
Normalize header names to lowercase in HTTP message handling.
java/src/org/openqa/selenium/remote/http/HttpMessage.java
setHeader
method.addHeader
method.