finalizing HTTP P2p protocol some more
authorJoey Hess <joeyh@joeyh.name>
Fri, 5 Jul 2024 19:34:58 +0000 (15:34 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 5 Jul 2024 19:34:58 +0000 (15:34 -0400)
commit40306d3fcf6774b8653a5ab09ce42ba47eda3083
tree2f3b9a44048a06060ee3e9bb65b6571a61aab5df
parent2fb3ef4d417cb0233f081d06fcb2f77e2c3d7b19
finalizing HTTP P2p protocol some more

Added v2-v0 endpoints. These are tedious, but will be needed in order to
use the HTTP protocol to proxy to repositories with older git-annex,
where git-annex-shell will be speaking an older version of the protocol.

Changed GET to use 422 when the content is not present. 404 is needed to
detect when a protocol version is not supported.
doc/design/p2p_protocol.mdwn
doc/design/p2p_protocol_over_http/draft1.mdwn
doc/todo/git-annex_proxies.mdwn