GZIP XML Results


I noticed that when you return results as json ocj just an json envelope to xml that the content is gzipped. When the respone type is xml the response is not gzipped.

Compare the two following requests:

XML: http://query.yahooapis.com/v1/public/yql?q...&format=xml

JSON envelope to xml: http://query.yahooapis.com/v1/public/yql?q...p;callback=test

The first requests response size is 111kb and the second one is 5.4kb. The same data is returned. Why is not the xml version gzipped?


0 Replies

Recent Posts

in YQL