hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalnichevski, Oleg" <oleg.kalnichev...@bearingpoint.com>
Subject RE: Setting up to use multipart/mixed
Date Mon, 13 Oct 2003 15:00:47 GMT
HttpClient is, well, an HTTP client. It does not do MIME. Your code will have to take care
of MIME encoding the content that you need to submit to the server.

> P.S. The example MultipartFileUploadApp uses
> org.apache.commons.httpclient.params.HttpMethodParams which isn't in
> 2.0RC1

Just select the HTTPCLIENT_2_0_BRANCH from the combobox below. Sorry for this inconvenience.

Cheers

Oleg

On Mon, 13 Oct 2003, Michael Becke wrote:

> Hello Jorrit,
>
> Please take a look at the following:
>
> <http://jakarta.apache.org/commons/httpclient/methods/multipartpost.html>
> <http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/src/examples/MultipartFileUploadApp.java?rev=1.7&content-type=text/vnd.viewcvs-markup>
>
> Mike
>
> Jorrit Kronjee wrote:
>
> > Hello list,
> >
> > I am trying to use HTTPClient to send a multipart message in MIME-format,
> > but somehow i can't seem to manage to get it all together. I have been
> > looking at the examples, but i can't define anywhere that i am sending a
> > multipart/mixed message in MIME.
> >
> > What should I be looking for?
> >
> > Thanks in advance,
> >
> >
> > Jorrit Kronjee
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
>

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


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


Mime
View raw message