From: Josh Steadmon Date: Fri, 22 Jun 2018 19:01:12 +0000 (-0700) Subject: protocol-v2 doc: put HTTP headers after request X-Git-Tag: v2.19.0-rc0~158^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb4d000e87a1649573aba210908847c8782b09d4;p=git protocol-v2 doc: put HTTP headers after request HTTP servers return 400 if you send headers before the GET request. Signed-off-by: Josh Steadmon Reviewed-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- diff --git a/Documentation/technical/protocol-v2.txt b/Documentation/technical/protocol-v2.txt index 136179d7d8..11c0efbfda 100644 --- a/Documentation/technical/protocol-v2.txt +++ b/Documentation/technical/protocol-v2.txt @@ -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: