> Ideally it should be either the Content-Length or if Chunked then we'll > have to read until the end of chunks. So, if you see Content-Length, then > no need to calculate size while parsing. You already know it. But, your > proposal is valid for the Chunked case. I'm talking about calculating the size for a individual MIME part.. I think I made it clear (+how we do it in Axis2/java) at the beginning of this thread... Probably you need to reread this thread.
> That will cause the stream to exhaust for the lifetime of the request > isn't it? If not can you explain the procedure? It works for StAX xml parsing and for axis2/java MIME parsing.. Simply increase the socket time out in the client. -- Thilina Gunarathne - http://thilinag.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
