1 | static S uploadWebPage_userAgent(S url) {
|
2 | S text = loadPageWithUserAgent(url, defaultFakeUserAgent()); |
3 | if (text.isEmpty()) ret ""; |
4 | ret ntUpload(programID(), "Contents of " + url, text); |
5 | } |
Began life as a copy of #1003987
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: | #1013314 |
| Snippet name: | uploadWebPage_userAgent |
| Eternal ID of this version: | #1013314/3 |
| Text MD5: | d58c495b1a813b9c5e206c2a8b619a50 |
| Author: | stefan |
| Category: | javax / networking |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-31 22:53:38 |
| Source code size: | 197 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 557 / 580 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |