Hello Magnus,
> I've not been able to find anything in the API docs or examples that show me
> how (for HTTPClient-4).
> I've read many places about MultipartRequestEntity - but thats not part of
> HTTPCore/Client-4 as far as I can tell.
That is correct. Multipart support is something we didn't port
to the 4.0 API:
http://hc.apache.org/status.html> Is it possible to post multipart data using HTTPClient-4 ?
Yes, but you'll have to do some coding. There is no
MultipartRequestEntity that you can use out of the box.
One possibility is to re-use the multipart support of HttpClient 3.1:
http://marc.info/?l=httpclient-commons-dev&m=119708907028914&w=2http://www.nabble.com/multipart-form-data-in-4.0-td14224819.htmlIf you don't want to depend on HttpClient 3, you can copy the
source and move it into a package of your own application.
hope this helps,
Roland
---------------------------------------------------------------------
To unsubscribe, e-mail:
httpclient-users-unsubscribe@...
For additional commands, e-mail:
httpclient-users-help@...