This is regarding smack library. In **org.jivesoftware.smack.util.Base64.decode( String s, int options ), **i can see that after base64 decoding, the code tries to detect if the data is gzip compressed and then decompresses it. The API also says this is the behaviour. Can someone please tell me why is the library trying to do so? Is it part of any specification?
The application i am working on is like a proxy to an xmpp server. Therefore it has to return whatever data it gets as it is. This behaviour of decompressing any gzip data is causing issues.