hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijay <rnvi...@gmail.com>
Subject Parsing Multipart
Date Mon, 13 Dec 2004 16:26:03 GMT
I am reading the multipart messge using code as follows:

method.getResponseBodyAsString()

What I get is a BIG string, with multiple parts( each part has
boundary, content-disposition type and name). Is there any smart way
of parsing this string into each part and put it into hashtable?
(Currently I can only think of using String operations to break the
BIGstring into multiple parts. But the problem is, sometimes I dont
know what the content disposition/part name is going to be)


Thanks
Vijay

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message