Thread (1 message) 1 message, 1 author, 2022-07-05

Re: [PATCH] remote-curl: send Accept-Language header to server

From: Junio C Hamano <hidden>
Date: 2022-07-05 17:53:58

"lilinchao@oschina.cn" [off-list ref] writes:
I wonder if we can use a new protocol-capability like local-lang
or something else, then Git client and server can tell each
other's language ability in the negotiation stage.
That is how I read Ævar's message you were responding to.

Having said that, a mechanism that applies only to HTTP transport
was already there, and the patch in question recognises that the
coverage of the mechanism is incomplete even within the HTTP
codepath and attempts to make it more complete.  Unless we are
planning to deprecate the HTTP specific mechanism and replace it
with protocol-capability to cover other protocols in the same way,
I do not think it is a bad idea to have it.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help