Setting : urlConn.setRequestProperty("Accept-Encoding", "gzip, deflate");