Server listening on :::3000
/uetchy/info/refs?service=git-upload-pack
{
host: 'localhost:3000',
'user-agent': 'git/2.32.0',
accept: '*/*',
'accept-encoding': 'deflate, gzip',
'accept-language': 'en-US, *;q=0.9',
pragma: 'no-cache',
'git-protocol': 'version=2'
}
# req
/uetchy/git-upload-pack
{
host: 'localhost:3000',
'user-agent': 'git/2.32.0',
'accept-encoding': 'deflate, gzip',
'content-type': 'application/x-git-upload-pack-request',
accept: 'application/x-git-upload-pack-result',
'git-protocol': 'version=2',
'content-length': '144'
}
[
'command=ls-refs\n',
'object-format=sha1\x00peel\n',
'symrefs\n',
'ref-prefix HEAD\n',
'ref-prefix refs/heads/\n',
'ref-prefix refs/tags/\n',
'<flush-pkt>'
]
# req
/uetchy/git-upload-pack
{
host: 'localhost:3000',
'user-agent': 'git/2.32.0',
'accept-encoding': 'deflate, gzip',
'content-type': 'application/x-git-upload-pack-request',
accept: 'application/x-git-upload-pack-result',
'git-protocol': 'version=2',
'content-length': '132'
}
[
'command=fetch',
'object-format=sha1\x00thin-pack',
'ofs-delta',
'want 0a53e9ddeaddad63ad106860237bbf53411d11a7\n',
'done\n',
'<flush-pkt>'
]