ifdef NoNanoHTTPD static virtual NanoHTTPD.Response serveInputStream(InputStream in, S mimeType) { ret subBot_serveInputStream(in, mimeType); } endifdef ifndef NoNanoHTTPD static NanoHTTPD.Response serveInputStream(InputStream in, S mimeType) ctex { ret NanoHTTPD.newChunkedResponse(NanoHTTPD.Status.OK, mimeType, in); } endifndef
Began life as a copy of #1007545
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029871 |
Snippet name: | serveInputStream |
Eternal ID of this version: | #1029871/1 |
Text MD5: | a7932e8fe633a5f16b7435df510f4cb5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-09-24 14:05:50 |
Source code size: | 345 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 179 / 213 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |