2024-04-12 16:41:11 +02:00
|
|
|
<html>
|
|
|
|
<body>
|
|
|
|
<h1>Received request</h1>
|
|
|
|
<h2>Incoming headers</h2>
|
|
|
|
<table style="width: 100%">
|
|
|
|
<thead>
|
2024-09-24 15:46:42 +02:00
|
|
|
<tr style="text-align: left">
|
2024-04-12 16:41:11 +02:00
|
|
|
<th>Key</th>
|
|
|
|
<th>Value</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{ range $key, $val := .Request.Header }}
|
2024-09-24 15:46:42 +02:00
|
|
|
<tr style="text-align: left">
|
2024-04-12 16:41:11 +02:00
|
|
|
<td>
|
|
|
|
<b>{{ $key }}</b>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<code>{{ $val }}</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{
|
|
|
|
end
|
|
|
|
}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<h2>Incoming cookies</h2>
|
|
|
|
<table style="width: 100%">
|
|
|
|
<thead>
|
2024-09-24 15:46:42 +02:00
|
|
|
<tr style="text-align: left">
|
2024-04-12 16:41:11 +02:00
|
|
|
<th>Name</th>
|
|
|
|
<th>Domain</th>
|
|
|
|
<th>Path</th>
|
|
|
|
<th>Secure</th>
|
|
|
|
<th>MaxAge</th>
|
|
|
|
<th>HttpOnly</th>
|
|
|
|
<th>SameSite</th>
|
|
|
|
<th>Expires</th>
|
|
|
|
<th>Value</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{ range $cookie := .Request.Cookies }}
|
2024-09-24 15:46:42 +02:00
|
|
|
<tr style="text-align: left">
|
2024-04-12 16:41:11 +02:00
|
|
|
<td>
|
|
|
|
<b>{{ $cookie.Name }}</b>
|
|
|
|
</td>
|
|
|
|
<td>{{ $cookie.Domain }}</td>
|
|
|
|
<td>{{ $cookie.Path }}</td>
|
|
|
|
<td>{{ $cookie.Secure }}</td>
|
|
|
|
<td>{{ $cookie.MaxAge }}</td>
|
|
|
|
<td>{{ $cookie.HttpOnly }}</td>
|
|
|
|
<td>{{ $cookie.SameSite }}</td>
|
|
|
|
<td>{{ $cookie.Expires }}</td>
|
|
|
|
<td>
|
|
|
|
<code>{{ $cookie.Value }}</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{
|
|
|
|
end
|
|
|
|
}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</body>
|
|
|
|
</html>
|