Libraryless. Click here for Pure Java version (4480L/26K).
static InputStream httpInputStream(S url) throws IOException { if (!isAbsoluteURL(url)) null; print("Streaming " + url); ret httpInputStream(openConnection(new URL(url))); } static InputStream httpInputStream(URLConnection con) throws IOException { setHeaders(con); ret urlConnection_getInputStream(con); }
Began life as a copy of #1008030
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033018 |
Snippet name: | httpInputStream |
Eternal ID of this version: | #1033018/1 |
Text MD5: | 2fa274d3b9a59923187e729c868affd1 |
Transpilation MD5: | f82f672bc4568b92cf1a32492c7c3541 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-11 11:36:08 |
Source code size: | 326 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 139 / 199 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |