Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 36944 invoked from network); 10 Oct 2006 21:35:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2006 21:35:11 -0000 Received: (qmail 29847 invoked by uid 500); 10 Oct 2006 21:35:10 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 29714 invoked by uid 500); 10 Oct 2006 21:35:10 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 29705 invoked by uid 99); 10 Oct 2006 21:35:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 14:35:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [195.188.213.5] (HELO smtp-out2.blueyonder.co.uk) (195.188.213.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 14:35:08 -0700 Received: from [172.23.170.141] (helo=anti-virus02-08) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1GXPFP-0004RN-An for cxf-dev@incubator.apache.org; Tue, 10 Oct 2006 22:34:47 +0100 Received: from [82.39.189.208] (helo=[192.168.1.200]) by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52) id 1GXPFO-0007EG-7d for cxf-dev@incubator.apache.org; Tue, 10 Oct 2006 22:34:46 +0100 Message-ID: <452C11EB.1030404@jboss.com> Date: Tue, 10 Oct 2006 22:34:35 +0100 From: Kevin Conner User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: cxf-dev@incubator.apache.org Subject: Re: FW: Transport API again References: <05F5FDC16A447442B12B21A432878AC501DF20@amer-ems1.IONAGLOBAL.COM> <237b686f0610101247l72f37fe5k1e0c622be21984e2@mail.gmail.com> <452C0E68.4010002@envoisolutions.com> In-Reply-To: <452C0E68.4010002@envoisolutions.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dan Diephouse wrote: >> Was Greg talking about the Jetty implementation? >> The problem is we don't use Jetty on the client-side, instead we use >> the java.net.HttpURLConnection and I'm pretty sure that attempting to >> set a request header after calling HttpURLConnection.getOutputStream() >> will fail with an IllegalStateException. > > Ah, I see now. Yes, he was talking about Jetty. I had just noticed that > you were using the wrappedoutputstream in the jetty response, so I > thought we could take that out. With HttpURLConnection the request headers can be set anytime prior to a connect, therefore any method which causes a connect will be an issue. Kev