29 lines
484 B
Plaintext
29 lines
484 B
Plaintext
|
<html>
|
||
|
<body>
|
||
|
<h1>Incoming request</h1>
|
||
|
<h2>Headers</h2>
|
||
|
<table>
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Key</th>
|
||
|
<th>Value</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{{ range $key, $val := .Request.Header }}
|
||
|
<tr>
|
||
|
<td>
|
||
|
<b>{{ $key }}</b>
|
||
|
</td>
|
||
|
<td>
|
||
|
<code>{{ $val }}</code>
|
||
|
</td>
|
||
|
</tr>
|
||
|
{{
|
||
|
end
|
||
|
}}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|