William Petit
de70fa89f7
Some checks are pending
Cadoles/bouncer/pipeline/pr-develop Build started...
66 lines
1.4 KiB
Plaintext
66 lines
1.4 KiB
Plaintext
<html>
|
|
<body>
|
|
<h1>Received request</h1>
|
|
<h2>Incoming headers</h2>
|
|
<table style="width: 100%">
|
|
<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>
|
|
<h2>Incoming cookies</h2>
|
|
<table style="width: 100%">
|
|
<thead>
|
|
<tr>
|
|
<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 }}
|
|
<tr>
|
|
<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>
|