0

RFC spec states Http headers are case-insensitive: Are HTTP headers case-sensitive? In our source code we set headers in [org.apache.hc.core5.http.HttpMessage](https://github.com/apache/httpcomponents-core/blob/master/httpcore5/src/main/java/org/apache/hc/core5/http/HttpMessage.java) implementations but the the APIs do not specify that the headers are matched with case-insensitivity. For example in HttpClient V3 the contract specifies it's case-insensitive. Can anyone help me figure out whether the HttpMessage interface is case-insensitive or not?

I've tried looking for answers in javadoc and other SO Q&A posts.

2
  • Why don't you try it and see what happens? Commented Apr 19, 2024 at 22:04
  • It does........ Commented Apr 20, 2024 at 8:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.