servicecomb-mesher icon indicating copy to clipboard operation
servicecomb-mesher copied to clipboard

mesher是否支持禁止Go客户端自动重定向

Open chenwei113524 opened this issue 2 years ago • 2 comments

chenwei113524 avatar Apr 18 '22 01:04 chenwei113524

背景:服务A通过mesher调用服务B,返回302,mesher对返回请求进行了自动重定向

chenwei113524 avatar Apr 18 '22 03:04 chenwei113524

https://stackoverflow.com/questions/23297520/how-can-i-make-the-go-http-client-not-follow-redirects-automatically

here is an example. u can contribute this to mesher

tianxiaoliang avatar Apr 18 '22 10:04 tianxiaoliang