Return-Path: Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 15130 invoked by uid 98); 12 Dec 2002 16:52:14 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 15073 invoked from network); 12 Dec 2002 16:52:12 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 12 Dec 2002 16:52:12 -0000 Received: (qmail 95803 invoked by uid 500); 12 Dec 2002 16:51:01 -0000 Received: (qmail 95780 invoked from network); 12 Dec 2002 16:51:00 -0000 Received: from mail7.atl.registeredsite.com (64.224.219.81) by daedalus.apache.org with SMTP; 12 Dec 2002 16:51:00 -0000 Received: from mail.lerch.org ([216.25.54.223]) by mail7.atl.registeredsite.com (8.12.2/8.12.6) with ESMTP id gBCGp23G026298 for ; Thu, 12 Dec 2002 11:51:02 -0500 Received: from lerch.org [216.25.54.223] by mail.lerch.org with ESMTP (SMTPD32-6.06) id AE651DCB009A; Thu, 12 Dec 2002 11:50:45 -0500 Message-ID: <3DF8BD96.8050203@lerch.org> Date: Thu, 12 Dec 2002 11:47:18 -0500 From: Justin Bedard User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Commons HttpClient Project Subject: Re: Let's face it: HttpClient API is more complex that it could have been References: <200212121625.LAA32445@www22.ureach.com> In-Reply-To: <200212121625.LAA32445@www22.ureach.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Myself and a colluege is using HttpClient. We both have a pretty extensive background in Perl. We've written our own interface on top of HttpClient so that all the calls are exactly like LWP: UserAgent ua = new UserAgent(); ua.request("GET","www.apache.org",80,"/"); String response = ua.getResponseBodyAsString(); You can also pass it proxy parameters, query parameters, etc. You can also access all the stuff (Headers, Cookies, etc.) behind the scenes if you want. But it's very simple and very logical esepcially since we've been using this interface for so long (5+ years). If you'd like help in this direction, I should be able to spare some time. Justin otisg wrote: > Perl has something called LWP (libwww). > Perhaps the interface of HttpClient should > be more like LWP's, which is very logical, > simple, and has been used for 5+ years. > > Otis