The
code is very simple. I know that visiting URL without login will be redirected to another website, but HttpURLConnection has been redirected, and the printed URL is indeed redirected. I use the package grab tool and browser to grab the package and return 302. Why is the HttpURLConnection return code 200?