2 Content-Type: text/html
6 {% for (let k, v in env.headers): %}
7 <strong>{{ replace(k, /(^|-)(.)/g, (m0, d, c) => d + uc(c)) }}</strong>: {{ v }}<br>
12 {% for (let k, v in env): if (type(v) == 'string'): %}
13 <code>{{ k }}={{ v }}</code><br>
16 {% if (env.CONTENT_LENGTH > 0): %}
17 <h1>Body Contents</h1>
19 {% for (let chunk = uhttpd.recv(64); chunk != null; chunk = uhttpd.recv(64)): %}
20 <code>{{ replace(chunk, /[^[:graph:]]/g, '.') }}</code><br>