Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1013954 // loadBinaryPageWithRedirects

JavaX fragment (include)

static byte[] loadBinaryPageWithRedirects(S url) ctex {
  print("Loading: " + hideCredentials(url));
  URLConnection con = loadPage_openConnection(new URL(url));
  ((HttpURLConnection) con).setInstanceFollowRedirects(true);
  return loadBinaryPage_noHeaders(con);
}

Author comment

Began life as a copy of #1000837

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013954
Snippet name: loadBinaryPageWithRedirects
Eternal ID of this version: #1013954/1
Text MD5: 297789cf6612527f98a2229706c91c55
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-16 23:49:31
Source code size: 270 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 433 / 460
Referenced in: [show references]