handling multipart

The release notes briefly say that libwww handles multipart responses, and 
a note or two from the archives says "yeah, it's supported".  I can even
see how the multipart parser can get fired by registering the right
conversion function for "multipart/*".  However, how does one deal 
with the multipart data itself?

From a look at the parser, at appears that all the parts of the body
are concatenated into the target stream.  This doesn't really seem like
the best way to deal with the data, though--if it's multipart data,
it would be nice to actually deal with the multiple parts separately.

Furthermore, I've looked at the example range.c, but I can't see how
to generalize it to a case where there are multiple *complete* parts
of the document, as opposed to multiple partial parts followed
by the whole thing.

So what I'm really after is this: is there a way to set up a handler
that can respond to individual message parts as they arrive?  The
particular application I have in mind would treat the early parts
as initial versions of a web page, which then get automatically
updated over time.  But a general answer would be just fine.


Thanks,

Lex

Received on Monday, 19 July 1999 13:14:44 UTC