Mercurial > hg-stable
comparison contrib/debugcmdserver.py @ 37653:b2fa1591fb44
wireproto: add media type to version 2 capabilities response
This is useful to advertise because servers reject unsupported
media types. A client may wish to speak multiple media types and
choose the one the server supports.
I doubt we'll ever use multiple media types or negotiation in core.
But during the course of developing this protocol, I may end up
making extensions that backport and forward port protocol support
as needed to support Mercurial deploys in the wild. e.g. I may
deploy support for an older protocol on a server so old clients
can continue using it.
It's worth pursuing changing the SSH protocol's upgrade mechanism
to support multiple media types as well...
Differential Revision: https://phab.mercurial-scm.org/D3299
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 13 Apr 2018 12:31:56 -0700 |
parents | cd03fbd5ab57 |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
37652:fe8c6f9f2914 | 37653:b2fa1591fb44 |
---|