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

4
LINES

< > BotCompany Repo | #1013953 // loadBinaryPageWithUserAgent

JavaX fragment (include)

static byte[] loadBinaryPageWithUserAgent(S url, S userAgent) {
  loadBinaryPage_extraHeaders.set(litmap("User-Agent", userAgent));
  ret loadBinaryPage(url);
}

Author comment

Began life as a copy of #1013952

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: #1013953
Snippet name: loadBinaryPageWithUserAgent
Eternal ID of this version: #1013953/1
Text MD5: ec33404f7ecf439a84241d56fb72d3f2
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-16 23:41:33
Source code size: 163 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 340 / 368
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)