<%inherit file="/layout/message.html" />
<%!
title = 'Debug echo'
%>
<%def name="header()">
    <h1>Splunk echo</h1>
</%def>

<style type="text/css">
    .masterContainer { background-color: #fff;}
    table { width: 100%; }
    td.k { width: 150px; }
</style>

<h2>Params</h2>
<table>
	% for param in sorted(params):
	<tr>
	    <td class="k">${param | h}</td>
	    <td class="v splFont-mono">${params.get(param) | h}</td>
	</tr>
	% endfor
</table>

<h2>HTTP Headers</h2>
<table>
    % for header in sorted(headers):
        % if 'Cookie' not in header:
            <tr>
                <td class="k">${header | h}</td>
                <td class="v splFont-mono">${headers.get(header) | h}</td>
            </tr>
        % endif
    % endfor
</table>
