Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 3499 invoked from network); 26 May 2005 09:14:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 May 2005 09:14:53 -0000 Received: (qmail 72893 invoked by uid 500); 26 May 2005 09:14:51 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 72823 invoked by uid 500); 26 May 2005 09:14:50 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 72808 invoked by uid 99); 26 May 2005 09:14:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from colossus.hpl.hp.com (HELO colossus.hpl.hp.com) (192.6.10.2) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 26 May 2005 02:14:50 -0700 Received: from timmay.hpl.hp.com (timmay-hb.hpl.hp.com [15.144.59.39]) by colossus.hpl.hp.com (8.12.10/8.12.10) with ESMTP id j4Q9CwdO024228 for ; Thu, 26 May 2005 10:12:58 +0100 (BST) Received: from [15.144.25.135] (chamonix.hpl.hp.com [15.144.25.135]) by timmay.hpl.hp.com (8.13.2/8.13.2) with ESMTP id j4Q9CqPN010309 for ; Thu, 26 May 2005 10:12:52 +0100 (BST) Message-ID: <42959314.8040201@apache.org> Date: Thu, 26 May 2005 10:12:52 +0100 From: Steve Loughran User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: http tasks References: <20050525183108.79344.qmail@web30906.mail.mud.yahoo.com> In-Reply-To: <20050525183108.79344.qmail@web30906.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-HPLB-IMAP-MailScanner-Information: Please contact the Helpdesk for more information X-HPLB-IMAP-MailScanner: Found to be clean X-HPLB-IMAP-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5) X-HPL-MailScanner-Information: Please contact the Helpdesk for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.582, required 5, autolearn=not spam, ALL_TRUSTED -0.84, AWL 0.86, BAYES_00 -2.60) X-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Matt Benson wrote: > --- Steve Loughran wrote: > >>Nice. I like it! If we ever get round to finishing >>the httpPost task in >>the sandbox, we have a Rest client system :) >> > > > So what, exactly, do these need? what they really need is a functional test harness. I had some .pl code up on iseran.com that tested a bit of it, but we should really create a WAR and bring it up in Jetty or something. The reason I stopped working on it (only temporary, but I got distracted) was that java1.2 vs 1.3 had differently broken java.net stuff. ex. -multi cookie support -automatic markdown of content-length attribute if the size of the received message is < content-length header in some circumstances (small packets, i think) -bad handling of error pages. Depending on the ending of the file, you either got the text or an exception. All of these really hurt us at at work; for #2 and #3 we had to modify the RESTy bits of our app with an X-ContentLength and X-ErrorCode headers, because java.net.HttpUrl was interfering with the W3C versions. If we do finish the stuff off, we should say "Java1.4+ only". -steve --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org