Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 42975 invoked from network); 20 Apr 2007 08:42:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Apr 2007 08:42:43 -0000 Received: (qmail 87434 invoked by uid 500); 20 Apr 2007 08:42:49 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 87427 invoked by uid 500); 20 Apr 2007 08:42:49 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 87416 invoked by uid 99); 20 Apr 2007 08:42:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 01:42:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [62.2.95.247] (HELO smtp.hispeed.ch) (62.2.95.247) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 01:42:42 -0700 Received: from [192.168.0.63] (aare.rz3.beecom.ch [212.71.105.68] (may be forged)) (authenticated bits=0) by smtp.hispeed.ch (8.12.11.20060308/8.12.11/taifun-1.0) with ESMTP id l3K8gEYx029007 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Fri, 20 Apr 2007 10:42:20 +0200 Subject: Re: Create parameters into GetMethod body From: Oleg Kalnichevski To: HttpClient User Discussion In-Reply-To: <7598b87a0704191919kb5253b0kbcc86ed8e6f1f772@mail.gmail.com> References: <7598b87a0704170559n3e940292rb712d794ce4fdbef@mail.gmail.com> <1176816700.6832.24.camel@okhost> <7598b87a0704191919kb5253b0kbcc86ed8e6f1f772@mail.gmail.com> Content-Type: text/plain Date: Fri, 20 Apr 2007 10:42:14 +0200 Message-Id: <1177058534.6039.1.camel@okhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on smtp-07.tornado.cablecom.ch X-Virus-Status: Clean X-DCC-spamcheck-02.tornado.cablecom.ch-Metrics: smtp-07.tornado.cablecom.ch 1378; Body=1 Fuz1=1 Fuz2=1 X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2007-04-20 at 10:19 +0800, wolverine my wrote: > Can you enlighten me where is this specified by the RFC? > See section 9 (Method Definitions). Only POST and PUT methods are expected to enclose a request entity. Hope this helps Oleg > 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 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org