hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karthik K <oss....@gmail.com>
Subject Re: "Raw" http request
Date Mon, 23 Jan 2012 17:59:58 GMT
On Mon, Jan 23, 2012 at 3:58 AM, Oleg Kalnichevski <olegk@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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message