Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9FBC4200BBB for ; Thu, 10 Nov 2016 11:10:39 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9E6E7160B01; Thu, 10 Nov 2016 10:10:39 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1A438160AF6 for ; Thu, 10 Nov 2016 11:10:38 +0100 (CET) Received: (qmail 23648 invoked by uid 500); 10 Nov 2016 10:10:38 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 23636 invoked by uid 99); 10 Nov 2016 10:10:38 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2016 10:10:38 +0000 Received: from ok2c (unknown [213.55.184.179]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 252101A08C2; Thu, 10 Nov 2016 10:10:36 +0000 (UTC) Message-ID: <1478772634.2268.6.camel@apache.org> Subject: Re: support for informational responses From: Oleg Kalnichevski To: HttpComponents Project Cc: Julian Reschke Date: Thu, 10 Nov 2016 11:10:34 +0100 In-Reply-To: <72e3b3eb-2465-f6cf-2269-7097bcea9995@gmx.de> References: <9de569aa-b5d7-67ed-46b4-551a9319f8f5@gmx.de> <1ABB2604-3E7B-45D2-B63A-95654C8803E7@apache.org> <72e3b3eb-2465-f6cf-2269-7097bcea9995@gmx.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit archived-at: Thu, 10 Nov 2016 10:10:39 -0000 On Tue, 2016-11-08 at 15:50 +0100, Julian Reschke wrote: > On 2016-11-08 15:38, Oleg Kalnichevski wrote: > > ... > > Ironically this is precisely what i have been working on in trunk. Please bear with me for the next few days. I intend to commit my changes toward the end of the week. > > ... > > Oh, cool! > > Best regards, Julian > Hi Julian Now with the new APIs one can have pretty much full control over message exchange either on the client or the server side including passing of intermediate (informational) response messages between endpoints. https://github.com/apache/httpcore/blob/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/nio/AsyncServerExchangeHandler.java https://github.com/apache/httpcore/blob/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/nio/AsyncClientExchangeHandler.java There is presently no integration test exercising that functionality, so that might be a pretty valuable contribution. https://github.com/apache/httpcore/blob/trunk/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/http/Http1IntegrationTest.java Cheers Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org