зеркало из https://github.com/microsoft/git.git
Merge branch 'bw/protocol-v2'
Doc fix. * bw/protocol-v2: protocol-v2 doc: put HTTP headers after request
This commit is contained in:
Коммит
5e6140e76f
|
@ -64,9 +64,8 @@ When using the http:// or https:// transport a client makes a "smart"
|
|||
info/refs request as described in `http-protocol.txt` and requests that
|
||||
v2 be used by supplying "version=2" in the `Git-Protocol` header.
|
||||
|
||||
C: Git-Protocol: version=2
|
||||
C:
|
||||
C: GET $GIT_URL/info/refs?service=git-upload-pack HTTP/1.0
|
||||
C: Git-Protocol: version=2
|
||||
|
||||
A v2 server would reply:
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче