k-billy
02-27-2004, 02:29 PM
I was wondering if it is possible to gzip http responses to a Dataset request?
I have a typical dataset that requests xml from a URL. The servlet wraps the httpresponse outputstream in GZIPOutputStream (pretty standard). The dataset's 'acceptencodings' attribute is set to true.
However, it appears that the Laszlo dataset doesn't know what to do with the response. I assumed that the Browser (which does accept gzip encoding) would unzip the incoming stream, and that the lzx dataset would get the xml.
Am i doing something wrong? Is there another way to do this?
I have a typical dataset that requests xml from a URL. The servlet wraps the httpresponse outputstream in GZIPOutputStream (pretty standard). The dataset's 'acceptencodings' attribute is set to true.
However, it appears that the Laszlo dataset doesn't know what to do with the response. I assumed that the Browser (which does accept gzip encoding) would unzip the incoming stream, and that the lzx dataset would get the xml.
Am i doing something wrong? Is there another way to do this?