On 25 November 2010 19:41, Anand Ramanathan <rcan...@gmail.com> wrote: > Yes, confirmed that they are. It is gzip - what is the best way to deal with > this? Is this a bug that is tracked, or is this something worth handling in > client code (checking if gzip and manually unzipping)? > Thanks > Anand
Curl can definitely handle gzipped responses. Here's something about it from a very quick Google search: http://curl.haxx.se/mail/curlphp-2004-01/0043.html Andrew Dunbar (hippietrail) > On Thu, Nov 25, 2010 at 12:12 AM, Bryan Tong Minh <bryan.tongm...@gmail.com> > wrote: >> >> On Thu, Nov 25, 2010 at 9:02 AM, Anand Ramanathan <rcan...@gmail.com> >> wrote: >> > OK, I got it again: Here is my curl output (headers + first few >> > characters) >> > for the garbled India wikipedia page (and the proper China wikipedia >> > page >> > for comparison below that): >> >> Can you verify that the first two characters are 0x1f and 0x8b >> respectively? Looks like gzip. >> >> _______________________________________________ >> Mediawiki-api mailing list >> Mediawiki-api@lists.wikimedia.org >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api > > > _______________________________________________ > Mediawiki-api mailing list > Mediawiki-api@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/mediawiki-api > > _______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api