From: Junio C Hamano Date: Wed, 25 May 2016 16:23:01 GMT Subject: Re: [WIP PATCH 00/14] Protocol v2 patches Message-ID: In-Reply-To: <1464130008.24478.134.camel@twopensource.com> David Turner writes: > I was looking at this again today, and noticed that it doesn't really > address the HTTP case. > > The central problem is that protocol v2 goes like this: > server: I have capabilities w,x,y, and z > client: I want capabilities x and z. > > But HTTP goes like this: > client: [request] > server: [response] I wonder if that can be solved by speculative request? Let the connection initiator say "If you can do x and z, please do so", and allow the responder to say either "OK, I can do x and z; by the way the full capabilites I support are w, x, y and z", or "Sorry, can't do that; I have capabilities w, x, and y".