Mercurial > prosody-modules
view mod_http_dir_listing2/resources/template.html @ 4478:7ab0c423688a
mod_rest: Support GET for certain IQ queries
Example:
GET /rest/version/example.com
200 OK
{ version: { name: "thing", version: "1.0.0" } }
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Feb 2021 19:33:09 +0100 |
parents | c91c9b87929e |
children |
line wrap: on
line source
<html> <head> <title>Index of {path}</title> <meta charset="utf-8"/> <style>{style}</style> </head> <body> <h1>Index of {path}</h1> <ul class="filelist">{filelist# <li class="{item.class}"><a href="{item.href}"{item.rel& rel="{item.rel}"}>{item.text}</a></li>} </ul> <footer>{footer}</footer> </body> </html>