mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-18 11:28:13 +08:00
Removed header printing from page.lp
This commit is contained in:
parent
7204d71136
commit
69cb94f3fb
@ -10,14 +10,7 @@
|
|||||||
Mongoose has Lua, Sqlite, and other functionality built in the binary.
|
Mongoose has Lua, Sqlite, and other functionality built in the binary.
|
||||||
This example page stores the request in the Sqlite database, and shows
|
This example page stores the request in the Sqlite database, and shows
|
||||||
all requests done previously.</p>
|
all requests done previously.</p>
|
||||||
|
|
||||||
<p> Today is <? print(os.date("%A")) ?>
|
<p> Today is <? print(os.date("%A")) ?>
|
||||||
<p> HTTP headers: <br>
|
|
||||||
<?
|
|
||||||
for name, value in pairs(request_info.http_headers) do
|
|
||||||
print(name, ' : ', value, '<br>')
|
|
||||||
end
|
|
||||||
?>
|
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<?
|
<?
|
||||||
|
Loading…
Reference in New Issue
Block a user