tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 38895] Http headers with an underscore "_" change into hyphen "-"
Date Fri, 03 Sep 2010 09:02:06 GMT

--- Comment #5 from Joachim Wagner <> 2010-09-03 05:02:02 EDT
General comment (without knowing tomcat): HTTP RFC 2616 defines HTTP header
field names as case-insensitive. Existing applications will break if suddenly
the raw headers are used and the problems may not surface in testing as your
test client probably uses the same casing as your server app.

My best guess why underscores are converted to hyphens by tomcat is that apache
httpd converts in the other direction (in order to generate valid environment
variable names for CGI programs).

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message