Status: 200 OK
Content-Type: text/html
Headers
{% for (let k, v in env.headers): %}
{{ replace(k, /(^|-)(.)/g, (m0, d, c) => d + uc(c)) }}: {{ v }}
{% endfor %}
Environment
{% for (let k, v in env): if (type(v) == 'string'): %}
{{ k }}={{ v }}
{% endif; endfor %}
{% if (env.CONTENT_LENGTH > 0): %}
Body Contents
{% for (let chunk = uhttpd.recv(64); chunk != null; chunk = uhttpd.recv(64)): %}
{{ replace(chunk, /[^[:graph:]]/g, '.') }}
{% endfor %}
{% endif %}