tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kalasareddy lingaraja <k.lingaraj...@gmail.com>
Subject How to validate or parse HTTP request headers ( tomcat version 6.0.18 )
Date Tue, 14 Jan 2014 16:39:02 GMT
Hi

i have task to validate or parse following http header

Accept
Accept-Charset
Accept-Encoding
Accept-Language
Accept-Datetime
Content-Length
Content-MD5
Content-Type

lets take  Accept-Language as an example , if header language comes other
than en-us i should reject the request with customized code response.

let me know ways to achieve the task?

can we do with any configuration files ?

we are using tomcat  6.0.18

waiting for earliest replay

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message