1 | static void loadBinaryPageToFile_userAgent(S url, File f, S userAgent) ctex { |
2 | URLConnection con = openConnection(new URL(url)); |
3 | con.setRequestProperty("User-Agent", userAgent); |
4 | loadBinaryPageToFile_noHeaders(con, f); |
5 | } |
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: | #1013952 |
Snippet name: | loadBinaryPageToFile_userAgent |
Eternal ID of this version: | #1013952/6 |
Text MD5: | fa6a351683652382aa9b9045e86fdb67 |
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:33:21 |
Source code size: | 228 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 407 / 448 |
Version history: | 5 change(s) |
Referenced in: | [show references] |