1
我想弄清楚我指向哪個URL。我使用下面的代碼,它似乎隱藏了重定向。如何查看我被重定向到的URL?
HttpPost httpPost = new HttpPost(url);
DefaultHttpClient httpclient = new DefaultHttpClient();
HttpResponse response = httpclient.execute(httpPost);
謝謝, 埃裏克