mirror of
https://github.com/civetweb/civetweb
synced 2025-03-28 21:13:27 +00:00
Update link in test scripts
This commit is contained in:
parent
4d3349d08e
commit
6ed309a7ac
@ -5,7 +5,7 @@ Content-Type: text/html
|
||||
|
||||
|
||||
<p>This is another example of a Lua server page, served by
|
||||
<a href="http://sourceforge.net/projects/civetweb/">Civetweb web server</a>.
|
||||
<a href="https://github.com/civetweb/civetweb/">CivetWeb web server</a>.
|
||||
</p><p>
|
||||
The following features are available:
|
||||
<ul>
|
||||
|
@ -3,7 +3,7 @@ mg.write("HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n")
|
||||
mg.write([[
|
||||
<html><body>
|
||||
<p>This is another example of a Lua script, creating a web page served by the
|
||||
<a href="http://sourceforge.net/projects/civetweb/">Civetweb web server</a>.
|
||||
<a href="https://github.com/civetweb/civetweb/">CivetWeb web server</a>.
|
||||
</p><p>
|
||||
The following features are available:
|
||||
<ul>
|
||||
|
@ -5,7 +5,9 @@ if canKeepAlive then
|
||||
-- Create the entire response in a string variable first. Content-Length will be set to the length of this string.
|
||||
reply = [[
|
||||
<html><body>
|
||||
<p>This is a Lua script supporting html keep-alive with the <a href="http://sourceforge.net/projects/civetweb/">Civetweb web server</a>.</p>
|
||||
<p>This is a Lua script supporting html keep-alive with the
|
||||
<a href="https://github.com/civetweb/civetweb/">CivetWeb web server</a>.
|
||||
</p>
|
||||
<p>It works by setting the Content-Length header field properly.
|
||||
</body></html>
|
||||
]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user