sO serveFile(File file) { ret call(getMainBot(), 'serveFile, file); } sO serveFile(File file, S mimeType) { ret call(getMainBot(), 'serveFile, file, mimeType); } sO serve404() { ret subBot_serve404(); } sO serve404(S msg) { ret subBot_serve404(msg); } //sO serveRedirect(S url) { ret call(getMainBot(), 'serveRedirect, url); }
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, ekrmjmnbrukm, elmgxqgtpvxh, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028763 |
Snippet name: | helper include for HttpFromFileSystem in eleu bots |
Eternal ID of this version: | #1028763/3 |
Text MD5: | b9287f15c1589806da7a7f8f90654928 |
Author: | stefan |
Category: | javax / http |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-17 19:22:16 |
Source code size: | 330 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 190 / 1013 |
Version history: | 2 change(s) |
Referenced in: | #1016323 - Blog Bot [DOMAIN BOT] #1027709 - HttpFromFileSystem [serve files and directories over HTTP] #1028762 - Serve Directory Web Bot #1029773 - HTTPFromFileSystem sub-bot #1029890 - GAIPPBots: Serve static pages #1029909 - ADA Main Bot |