> The HTTP spec (HTTP/1.1, section 4.2: > http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html) states that HTTP > header field names are case-insensitive. > > You should not be relying on a particular caseification (?) of header > fields. > > Are you just interested in what the client sent? > > I think you'd have to modify the Connector in order to do that. In order > for the headers to be case-insensitive, case must be normalized when > assembling headers (the same header is allowed multiple times, and the > servlet spec requires that all those field values be available in a > single Enumeration when calling getHeaders). The implementers chose > lower case as their normalization technique. In order to undo that, > you'll have to modify the source of Tomcat. > > - -chris
Thanks Chris, as I just mentioned in my reply to Markus, I am in the need of the original case as I am forwarding the headers and the receiving party apparently expects a particular case. Anyhow, I already almost thought there would be no way to "configure" this, but wanted to be sure. Thanks again, Alexander --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org