summaryrefslogtreecommitdiff
path: root/gitweb/gitweb.perl
diff options
context:
space:
mode:
authorDerrick Stolee <derrickstolee@github.com>2022-08-09 13:11:39 +0000
committerJunio C Hamano <gitster@pobox.com>2022-08-10 14:07:37 -0700
commitb5624a44744d6e5f9c749e4df02932c724e2097e (patch)
tree550bb596d7bb2c39621d2d99aa7d7007b98a203b /gitweb/gitweb.perl
parent6a475b71f8c4ce708d69fdc9317aefbde3769e25 (diff)
remote-curl: add 'get' capability
A future change will want a way to download a file over HTTP(S) using the simplest of download mechanisms. We do not want to assume that the server on the other side understands anything about the Git protocol but could be a simple static web server. Create the new 'get' capability for the remote helpers which advertises that the 'get' command is avalable. A caller can send a line containing 'get <url> <path>' to download the file at <url> into the file at <path>. Reviewed-by: Josh Steadmon <steadmon@google.com> Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/gitweb.perl')
0 files changed, 0 insertions, 0 deletions