static NanoHTTPD.Response serveHTMLNoCache(O html) { if (html instanceof NanoHTTPD.Response) ret (NanoHTTPD.Response) html; NanoHTTPD.Response response = serveHTML((S) html); response.addHeader("Cache-Control", "no-cache, must-revalidate, max-age=0"); ret response; }
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: | #1002773 |
Snippet name: | serveHTMLNoCache |
Eternal ID of this version: | #1002773/2 |
Text MD5: | daaea696822d6a68ed6bf7a1e236ddb7 |
Author: | stefan |
Category: | javac |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-19 19:36:38 |
Source code size: | 293 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 639 / 606 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |