Libraryless. Click here for Pure Java version (2128L/14K).
1 | static virtual NanoHTTPD_Response subBot_noCacheHeaders(virtual NanoHTTPD_Response r) { |
2 | call(r, 'addHeader, "Cache-Control", "no-cache, must-revalidate, max-age=0"); |
3 | ret r; |
4 | } |
Began life as a copy of #1026262
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1026263 |
Snippet name: | subBot_noCacheHeaders - add HTTP headers for no caching |
Eternal ID of this version: | #1026263/1 |
Text MD5: | 9e7124a4950cb03f158acb71b8df7a04 |
Transpilation MD5: | e11ebe3099a4f63f206213f9634a8a40 |
Author: | stefan |
Category: | javax / http |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-12-09 14:52:55 |
Source code size: | 181 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 185 / 267 |
Referenced in: | [show references] |