aboutsummaryrefslogtreecommitdiff
path: root/t/front.t
blob: a9badb08bb7981d3eb58e283ff4327bf9d4babfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<h1><%= site.name %></h1>
<p>Thanks for the <%= getenv("REQUEST_METHOD") %> request!</p>
<table border="1">
	<tr style="font-weight: bold;">
		<td style="width: 60px;">Key</td>
		<td style="width: 140px;">Value</td>
	</tr>
	<%
	char *p, *v;
	while(p = nextparam(GET, 512)){
		v = split(p);
	%>
	<tr>
		<td><%= p %></td>
		<td><%= v %></td>
	</tr>
	<%
	}
	%>
</table>