我來自這個問題,如果我根本不想要重定向,答案就有效:client := &http.Client{ CheckRedirect: func(req *http.Request, via []*http.Request) error { return http.ErrUseLastResponse },}但是我怎么能允許一個重定向到這里?
- 1 回答
- 0 關注
- 75 瀏覽
添加回答
舉報
0/150
提交
取消