If the HEAD request fails, use a GET request to properly test if git server is smart-http. Signed-off-by: Andrew He <he.andrew.mail@gmail.com> Upstream-commit: 85afbbc2ed36945adeaf6fa09f6066a549631a6f Component: engine
If the HEAD request fails, use a GET request to properly test if git server is smart-http. Signed-off-by: Andrew He <he.andrew.mail@gmail.com> Upstream-commit: 85afbbc2ed36945adeaf6fa09f6066a549631a6f Component: engine