in reply to uncompress gzip data in a callback
In essence you can't decompress zipped data until you have the whole lot. It (they, there are many 'zip' implementations) simply aren't designed to work that way.
If the trade off of zipping/unzipping against bandwidth is essential, then you have little choice but to forget the callback and wait until you've received the whole response bofore you unzip and display.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: uncompress gzip data in a callback
by Weevil (Novice) on May 04, 2010 at 09:52 UTC | |
by BrowserUk (Patriarch) on May 04, 2010 at 13:39 UTC | |
by pmqs (Friar) on May 04, 2010 at 16:03 UTC | |
by BrowserUk (Patriarch) on May 04, 2010 at 18:47 UTC |