hi, I was trying to check if IE browser supports GZIP compression programmatically. I think IE 4 + supports GZIP compression but when I displayed the header and checked using response.getHeader(), it gave: null. Not sure whats happenning. Please give me a clue.... Please see my code below. When I access my servlet from IE 6+, "encoding" String value is null and so I get the message that compression is not supported.
With Netscape 4.79 it says it supports GZIP compression and "encoding" String value is "gzip" and the message is correct. IE 6+ supports GZIP compression, isn't it? What's wrong with the code?