GolangWebDev
GolangWebDev
2265 0 0

HostClient can't follow redirects to a different protocol

error when proxying the request: HostClient can't follow redirects to a different protocol, please use Client instead

Because a HostClient has a pool of connections to a server:port combination. So when switching to a different scheme it will try to send https traffic to http port or the other way around. For more see: #800

0

Discussion

Login Topics