Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 19307 invoked from network); 4 Mar 2008 19:39:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Mar 2008 19:39:31 -0000 Received: (qmail 30761 invoked by uid 500); 4 Mar 2008 19:39:26 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 30745 invoked by uid 500); 4 Mar 2008 19:39:26 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 30736 invoked by uid 99); 4 Mar 2008 19:39:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2008 11:39:26 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.142.206.37] (HELO web32807.mail.mud.yahoo.com) (68.142.206.37) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 04 Mar 2008 19:38:50 +0000 Received: (qmail 46930 invoked by uid 60001); 4 Mar 2008 19:38:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=0OdTwJdKhJ9YRy3mbnranIPEfM9MZvMv9OnvO8CxWjeEUoRz97VZ3/R5V0vZgJUw8NWB8MvL0qOVPkc3uEv2VcAb0AjVIfYvP0LfI5NnAFbBocL0uxJ7PJ8ZWEoh/5XHuiIX4tF1EtTC58eJpjB4awtLshd9XvjEhb/WhwodTBw=; X-YMail-OSG: Z9R5H1kVM1lGpnN2J2GTeMlZOpLpxBuuxvisEcwDNW1c2Qc1cscG.Q21XydqlV4vd1RFrT6hIuuYwBxre2iJhp1iZ2rSuOtsN0BlgZhI0YkwoGWwFlGsVgru9KZWUA-- Received: from [207.171.180.101] by web32807.mail.mud.yahoo.com via HTTP; Tue, 04 Mar 2008 11:38:59 PST Date: Tue, 4 Mar 2008 11:38:59 -0800 (PST) From: Tatu Saloranta Subject: Re: Whole HTTP response as InputStream? To: HttpClient User Discussion In-Reply-To: <15822055.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <56379.46796.qm@web32807.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --- ripok wrote: ... > Tatu, I don't understand what you mean at the end of > your response? The > whole HTTP response, which server sends back, is the > mime message. So the > response headers are also part of returned mime > message. I guess it depends on types of headers we are talking about (and I may have misunderstood you). But basically there's difference between physical part (yes, all the data comes from same stream, via same socket) and logical part (layering -- http server/client usually should handle http-level headers that preced payload). So if there are headers that are logically part of the mime message, they belong to payload (from httpclient perspective); but if you were talking about http headers, they'd be part of response metadata, not payload. Does this make sense? Anyway, if you can easily solve the problem using SequenceInputStream, go for it. :-) -+ Tatu +- ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org