[PATCH] Add support for alternates in HTTP
authorDaniel Barkalow <barkalow@iabervon.org>
Thu, 15 Sep 2005 03:26:08 +0000 (23:26 -0400)
committerJunio C Hamano <junkio@cox.net>
Sat, 17 Sep 2005 18:57:50 +0000 (11:57 -0700)
commitb3661567cfa604abfa6a67d8e7bbd6db018c3fe6
tree232b5ac298b80c2a181f5b6247858d20df651cef
parent50d69ef4f59756195172721e5f25a9dc28e891ca
[PATCH] Add support for alternates in HTTP

This tries .../objects/info/http-alternates and then
.../objects/info/alternates, looking for a file which specifies where
else to download objects and packs from.

It currently only supports absolute paths, and doesn't support full URLs.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c