"John Wilson" <[EMAIL PROTECTED]> writes: > ----- Original Message ----- > From: "Alain K" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, March 06, 2002 4:44 PM > Subject: Byte Streaming > > >> Hello, >> >> Is it possible to send large data via xmlrpc without >> loading everything into memory first using some kind >> of streaming mecanism. > > Because the XML-RPC spec requires a correct content-length header then you > really have to assemble the message in memory to work out how long it is > before sending it. > > If you are doing something like sending the Base64 encoded contents of a > file you could avoid this because you know the file length and can work out > the length of the message before reading the file. However this is special > case stuff and you would not really expect a general purpose XML-RPC > implementation to do it.
There's also been discussion on this sort of thing on the rpc-dev list. You might want to search the archive and read it over...