Libraryless. Click here for Pure Java version (2809L/17K).
sO redirectToHTTPS(IWebRequest req) null { if (!req.isHttps()) ret subBot_serveRedirect("https://" + req.domain() + req.uri() + htmlQuery(req.params())); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030820 |
| Snippet name: | redirectToHTTPS |
| Eternal ID of this version: | #1030820/4 |
| Text MD5: | 864f423e6b0f642488119e779414f62c |
| Transpilation MD5: | c5612b9c7728598122dddf88a9b976a4 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-03-30 00:11:12 |
| Source code size: | 164 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 416 / 564 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |