tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38895] Http headers with an underscore "_" change into hyphen "-"
Date Fri, 03 Sep 2010 09:02:06 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=38895

--- Comment #5 from Joachim Wagner <jwagner@computing.dcu.ie> 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.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2

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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message