Re: Adding Transfer Encoding header if not present

2010-09-16 Thread Amit Puri
Hi Thanks a lot Mark and Andre for your replies. As per my requirement I want to add Transfer-Encoding in the client request header and send request to servlet for priniting the headers there. For one way, I am doing with Apache http server using mod_jk with mod_headers RequestHeader append Tra

Adding Transfer Encoding header if not present

2010-09-15 Thread Amit Puri
Hi All I am using tomcat 6.0.26 I've got a simple web application deployed where I am printing all header information through servlet. By default I am not able to see Transfer-Encoding header when I do request.getHeader Enumeration enm = request.getHeaderNames(); while (enm.hasMoreElements()) { S