On Thu, 2003-01-16 at 05:45, Randy Heiland wrote:
> Any examples of sending/receiving binary data, e.g., a jpeg?

Binary data gets sent in base64 in XMLRPC -- it's actually tagged
<base64>...</base64>.  I believe there's a constructor called Binary in
the Python xmlrpc library.  So like people said, straight HTTP is better
if bandwidth is an issue.  If you want image uploads you can do it as a
PUT.  If latency isn't a big deal, you could have the XMLRPC method
return a URL, which the client could use to download the generated
image.  But then you have to keep the image information around on the
server side in some fashion.

-- 
Ian Bicking           Colorstudy Web Development
[EMAIL PROTECTED]   http://www.colorstudy.com
PGP: gpg --keyserver pgp.mit.edu --recv-keys 0x9B9E28B7
4869 N Talman Ave, Chicago, IL 60625 / (773) 275-7241



-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to