leopku opened this issue 5 years ago · 0 comments
I just want to get the redirected information but not follow to the location. I tried cli.Use(redirect.Limit(-1)) and cli.Use(redirect.Limit(0)), all sucks. Is there anyway to disable redirect totally?
cli.Use(redirect.Limit(-1))
cli.Use(redirect.Limit(0))