Re: How to validate or parse HTTP request headers ( tomcat version 6.0.18 )

2014-01-14 Thread kalasareddy lingaraja
: > kalasareddy lingaraja wrote: > >> Hi >> >> i have task to validate or parse following http header >> >> Accept >> Accept-Charset >> Accept-Encoding >> Accept-Language >> Accept-Datetime >> Content-Length >> Content-MD5 &g

How to validate or parse HTTP request headers ( tomcat version 6.0.18 )

2014-01-14 Thread kalasareddy lingaraja
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