This is great... Thanks Dylan and Micheal. This is a really nice surprise in the morning post :)
We are using XML-RPC over a slow & flaky GSM link (9600) to do remote database queries, and although currently we don't have a need for large resultsets, we might in the future, and I believe this should help our link performance somewhat. I actually started down the path of making the wrapping XML-RPC tags more terse in Apache's XML-RPC1.1, but I put it on the back-burner, so it's a nice surprise to see someone has done a zipped one. Regards, Jason -- Falun Gong: A peaceful meditation practice under persecution in China http://www.faluninfo.net Truth - Compassion - Forbearance -----Original Message----- From: Michael Landon - IBN [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 December 2003 7:40 AM To: [EMAIL PROTECTED] Subject: Re: Feature idea: gzip encoding and XMLRPC Exactly. In our case, we send many structures via XML-RPC and the XML would sometimes be as big as 3 MB per message. We implemented the gzip idea (gleaned from Google as well) and the messages dropped to under 100K!! We're using version 1.1, but I'm sure the changes could be easily added to any version. See attached files. Michael ----- Original Message ----- From: "Dylan McNamee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 1:01 PM Subject: Feature idea: gzip encoding and XMLRPC I just drew a Google-blank on this topic (so I'm not too hopeful) but I thought I'd ask anyway: how easily could I "silently slip in" gzip encoding at the HTTP-level underneath XMLRPC-Java? I've been happily making a verbose XMLRPC protocol, and now am finding myself with a bandwidth bottleneck...rather than trying to make my XMLRPC more terse, gzipping it would be way more effective. XML compresses like a dream! Reflecting on my request (and the Javadocs), I think this would be a subclass of XmlRpcClient (GzipXmlRpcClient)...but before I embark on doing that, I thought I'd check the list whether a) it's been done, b) it's really easy or hard to do, or c) it shouldn't be done (like my sessions with cookies idea). Thanks! dylan
