I have the next part of code:
dCon = (HttpURLConnection) new URL(torrentFileDownloadLink).openConnection();
dCon.setRequestProperty("Cookie", "uid=" + cookies.get("uid") + ";pass=" + cookies.get("pass"));
dCon.setRequestMethod("GET");
dCon.setConnectTimeout(30000);
dCon.setDoOutput(true);
But Wireshark shows that request method is "POST". What am I doing wrong or this is just a bug? Btw, getRequestMethod say that method is "GET" but in reality it's POST.