in reply to Re^3: Read Compressed Post data
in thread Read Compressed Post data

saving to file and guunzip results in invalid format The actual java code sending the data looks like this
urlos = connection.getOutputStream(); if(compress) {bufos = new BufferedOutputStream(new GZIPOutputStream(urlos)); } else { bufos = new BufferedOutputStream(urlos);
so I assume that the data is GZIP compressed before being sent by java app and the switch to not use compress was not coded so it is always compressed

Replies are listed 'Best First'.
Re^5: Read Compressed Post data
by JavaFan (Canon) on Sep 01, 2009 at 15:00 UTC
    Well, if what you get isn't actually uncompressable with gunzip, then it could very well be that it's not actually in gzip format, is it?