static NanoHTTPD.Response serve403() { ret serve403("Forbidden"); } static NanoHTTPD.Response serve403(S msg) { ret NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Status.FORBIDDEN, NanoHTTPD.MIME_PLAINTEXT, "Code 403 - " + msg); }
Began life as a copy of #1001852
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: | #1024508 |
Snippet name: | serve403 - forbidden |
Eternal ID of this version: | #1024508/1 |
Text MD5: | 18b0d355aa25e0272976aabe90e0d202 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-15 20:04:53 |
Source code size: | 237 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 164 / 199 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |