This causes multiple unneeded http redirects. Since each http redirect takes a few hundred milliseconds, handling the redirects starts to take up a significant amount of wall time. Fixes: #63281