In order to improve the client/server behaviour, I'm looking for adapt my iphone client code to proceed ziped responses.
The server adapt the SOAP response ziped.
I was looking how to uncompress the response but didn't work for me.
The first solution I studied was the ZipArchive, explained here, solution (from minizip) but it is focus on filesystem compression.
And I just need to uncompress a NSString.
After that I checked this second approach:
NSData *decodedGzippedData = [NSData dataFromBase64String:encodedGzippedString];
NSData* unGzippedJsonData = [ASIHTTPRequest uncompressZippedData:decodedGzippedData];
NSString* unGzippedJsonString = [[NSString alloc] initWithData:unGzippedJsonData encoding:NSASCIIStringEncoding];
But didn't work for me, because in the actual version the NSData dataFromBase64String didn't exists.
Now I'm working with the third response of the previous question, anybody knows which library or framework I need to install in order to import Base64.h and NSData+Compression.h ¿? Used in this other potencial solution