[PATCH] url: add distribution and version to user-agent request header (BC)
Mike Hommey
mh at glandium.org
Thu Jul 14 18:38:02 EDT 2016
On Thu, Jul 14, 2016 at 05:16:12PM -0500, Matt Mackall wrote:
> Yes, but the web's protocol model is not really the same as ours. In Mercurial,
> the client is supposed to make every protocol decision while the server
> passively does what it's asked to do while keeping no state and making no
> choices. There's no negotiation taking place, so the server never needs or
> should know what the client is capable of except via what it asks for.
Note negociation /could/ be added, through the Accept header. bundle2
pushes also expose client capabilities in the reply:changegroup part.
Mike
More information about the Mercurial-devel
mailing list