treebird/static/test.html
me@ow.nekobit.net 4813dc30c6 Add path_info test
FossilOrigin-Name: e1c336e95dffa0c40a5acc778c9ad17c50d00cec653261a642468adcf626779e
2022-03-18 23:52:26 +00:00

52 lines
999 B
HTML

<div class="simple-page">
<h1>Test page</h1>
<p>Test your nginx/apache and browser here</p>
<form action="test" method="get">
<input name="value" type="text">
<input type="submit" value="GET">
</form>
<form action="test" method="post">
<input name="value" type="text">
<input type="submit" value="POST">
</form>
<table id="env-table" class="present">
<tr>
<th><b>ENV</b></th>
<th><b>Value</b></th>
</tr>
<tr>
<td>HTTP_COOKIES</td>
<td>%s</td>
</tr>
<tr>
<td>PATH_INFO</td>
<td>%s</td>
</tr>
<tr>
<td>QUERY_STRING</td>
<td>%s</td>
</tr>
<tr>
<td>REQUEST_METHOD</td>
<td>%s</td>
</tr>
<tr>
<td>SCRIPT_NAME</td>
<td>%s</td>
</tr>
<tr>
<td>HTTP_REFERER</td>
<td>%s</td>
</tr>
<tr>
<td>HTTP_USER_AGENT</td>
<td>%s</td>
</tr>
<tr>
<td>CONTENT_LENGTH</td>
<td>%s</td>
</tr>
</table>
</div>