hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wolverine my" <wolverine...@gmail.com>
Subject Re: Create parameters into GetMethod body
Date Fri, 20 Apr 2007 02:19:53 GMT
Can you enlighten me where is this specified by the RFC?

I'm trying to search from the RFC2616
(http://tools.ietf.org/html/rfc2616)  but I haven't find anything
yet...

Appreciate your advise, thank you!


On 4/17/07, Oleg Kalnichevski <olegk@apache.org> wrote:
> On Tue, 2007-04-17 at 20:59 +0800, wolverine my wrote:
> > Hi!
> >
> > Sorry, this email was wrongly sent commons-user mailing list!
> >
> > I would like to generate a Get method looks like the following:
> >
> > GETT http://myserver:8890/dummy HTTP/1.1
> > ...
> > Connection: keep-alive
> > NAME=AnyName
> > AGE=56
> >
> > The request body has the proprietary parameter pairs (e.g. NAME and
> > AGE) that are required by the server.
> >
> > How can I generate these parameters into the request body?
> > Whata about setParams(HttpMethodParams)?
> >
>
> Wolverine,
>
> HTTP GET requests are not supposed to have a request body. You probably
> want to be using HTTP POST instead
>
> Hope this helps
>
> Oleg
>
>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>

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


Mime
View raw message