You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Joan Balaguero <jo...@grupoventus.com> on 2012/01/23 11:09:36 UTC
"Raw" http request
Hi Oleg,
Is it possible with HttpClient to send raw http requests?
We have a new requeriment where an user can enter the following http request
in a text area:
POST http://www.server.com/webservice HTTP/1.1
<http://www.server.com/webservice%20HTTP/1.1>
Content-Length: 243
<?xml version
>
Its not necessary to parse this request, just send it directly.
Can I do this with HttpClient?
Thanks,
Joan.
Re: "Raw" http request
Posted by Karthik K <os...@gmail.com>.
On Mon, Jan 23, 2012 at 3:58 AM, Oleg Kalnichevski <ol...@apache.org> wrote:
> On Mon, 2012-01-23 at 11:09 +0100, Joan Balaguero wrote:
> > Hi Oleg,
> >
> >
> >
> > Is it possible with HttpClient to send “raw” http requests?
> >
>
> no, it is not.
>
> Oleg
>
> >
> >
> > We have a new requeriment where an user can enter the following http
> request
> > in a text area:
> >
> >
> >
> > POST http://www.server.com/webservice HTTP/1.1
> > <http://www.server.com/webservice%20HTTP/1.1>
> >
> > Content-Length: 243
> >
> >
> >
> > <?xml version ……………………>
> >
> >
> >
> >
> >
> > It’s not necessary to parse this request, just send it directly.
> >
> >
> >
> > Can I do this with HttpClient?
>
Hi Joan -
How about sending the raw format over tcp to the destination port /
service (with the right encoding , Content-Encoding: header field ) ?
--
Karthik.
Re: "Raw" http request
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Mon, 2012-01-23 at 11:09 +0100, Joan Balaguero wrote:
> Hi Oleg,
>
>
>
> Is it possible with HttpClient to send raw http requests?
>
no, it is not.
Oleg
>
>
> We have a new requeriment where an user can enter the following http request
> in a text area:
>
>
>
> POST http://www.server.com/webservice HTTP/1.1
> <http://www.server.com/webservice%20HTTP/1.1>
>
> Content-Length: 243
>
>
>
> <?xml version
>
>
>
>
>
>
> Its not necessary to parse this request, just send it directly.
>
>
>
> Can I do this with HttpClient?
>
>
>
> Thanks,
>
> Joan.
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org