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

7
LINES

< > BotCompany Repo | #1030429 // subBot_serveFile_maxCache

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2546L/16K).

static virtual NanoHTTPD.Response subBot_serveFile_maxCache(File file) {
  ret subBot_maxCacheHeaders(subBot_serveFile(file);
}

static virtual NanoHTTPD.Response subBot_serveFile_maxCache(File file, S mimeType) {
  ret subBot_maxCacheHeaders(subBot_serveFile(file, mimeType));
}

Author comment

Began life as a copy of #1028366

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030429
Snippet name: subBot_serveFile_maxCache
Eternal ID of this version: #1030429/1
Text MD5: 63ef37890d2f78e541083cc21b5079ec
Transpilation MD5: 3d53b8524b4081cc92c364ba32d8964f
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-16 01:53:27
Source code size: 285 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 201 / 282
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)