mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
8269 lines
238 KiB
Plaintext
8269 lines
238 KiB
Plaintext
HTTP/1.1 505 HTTP Version Not Supported
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Content-Length: 0
|
||
|
||
HTTP/1.1 404 Not Found
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 254
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>404 Not Found</title>
|
||
</head><body>
|
||
<h1>Not Found</h1>
|
||
<p>Your requested URL "/index.php" was not found on this server</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 400 Bad Request
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 263
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>400 Bad Request</title>
|
||
</head><body>
|
||
<h1>Bad Request</h1>
|
||
<p>Your browser sent a request that this server could not understand</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 400 Bad Request
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 263
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>400 Bad Request</title>
|
||
</head><body>
|
||
<h1>Bad Request</h1>
|
||
<p>Your browser sent a request that this server could not understand</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 400 Bad Request
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 263
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>400 Bad Request</title>
|
||
</head><body>
|
||
<h1>Bad Request</h1>
|
||
<p>Your browser sent a request that this server could not understand</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 411 Length Required
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Content-Length: 0
|
||
|
||
HTTP/1.1 413 Request Entity Too Large
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Content-Length: 0
|
||
|
||
HTTP/1.1 400 Bad Request
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 263
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>400 Bad Request</title>
|
||
</head><body>
|
||
<h1>Bad Request</h1>
|
||
<p>Your browser sent a request that this server could not understand</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 400 Bad Request
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 263
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>400 Bad Request</title>
|
||
</head><body>
|
||
<h1>Bad Request</h1>
|
||
<p>Your browser sent a request that this server could not understand</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 400 Bad Request
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 263
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>400 Bad Request</title>
|
||
</head><body>
|
||
<h1>Bad Request</h1>
|
||
<p>Your browser sent a request that this server could not understand</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 400 Bad Request
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 263
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>400 Bad Request</title>
|
||
</head><body>
|
||
<h1>Bad Request</h1>
|
||
<p>Your browser sent a request that this server could not understand</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 400 Bad Request
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 263
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>400 Bad Request</title>
|
||
</head><body>
|
||
<h1>Bad Request</h1>
|
||
<p>Your browser sent a request that this server could not understand</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 400 Bad Request
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 263
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>400 Bad Request</title>
|
||
</head><body>
|
||
<h1>Bad Request</h1>
|
||
<p>Your browser sent a request that this server could not understand</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 200 OK
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Allow: GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, CONNECT, COPY, MOVE, LOCK, UNLOCK, MKCOL, PROPFIND, PATCH, PURGE, MERGE, REPORT, CHECKOUT, MKACTIVITY, NOTIFY, MSEARCH, SUBSCRIBE, UNSUBSCRIBE
|
||
Content-Length: 0
|
||
|
||
HTTP/1.1 404 Not Found
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Connection: close
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 254
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>404 Not Found</title>
|
||
</head><body>
|
||
<h1>Not Found</h1>
|
||
<p>Your requested URL "/index.php" was not found on this server</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 404 Not Found
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 257
|
||
|
||
HTTP/1.1 404 Not Found
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 344
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>404 Not Found</title>
|
||
</head><body>
|
||
<h1>Not Found</h1>
|
||
<p>Your requested URL "/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" was not found on this server</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 403 Forbidden
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 304
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>403 Forbidden</title>
|
||
</head><body>
|
||
<h1>Forbidden</h1>
|
||
<p>You don't have permission to access "/../../../../linux/include/generated/uapi/linux/version.h" on this server</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 500 Internal Server Error
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 548
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>500 Internal Server Error</title>
|
||
</head><body>
|
||
<h1>Internal Server Error</h1>
|
||
<p>The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 200 OK
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Type: text/plain; charset=UTF-8
|
||
Content-Length: 21
|
||
|
||
pippo pluto paperino
|
||
HTTP/1.1 401 Authorization Required
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Type: text/html; charset=UTF-8
|
||
WWW-Authenticate: Basic realm="Protected Area"
|
||
Content-Length: 444
|
||
|
||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
<html><head>
|
||
<title>401 Authorization Required</title>
|
||
</head><body>
|
||
<h1>Authorization Required</h1>
|
||
<p>This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required</p>
|
||
<hr>
|
||
<address>ULib Server</address>
|
||
</body></html>
|
||
HTTP/1.1 200 OK
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Type: text/plain; charset=us-ascii
|
||
Expires: Wed, 18 May 2016 14:10:57 GMT
|
||
Last-Modified: Fri, 20 Feb 2009 14:50:49 GMT
|
||
Content-Length: 63
|
||
|
||
this is the web_server testsuite inp/http/data/index.html file
|
||
HTTP/1.1 206 Partial Content
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Range: bytes 0-63/64
|
||
Content-Type: text/plain; charset=us-ascii
|
||
Expires: Wed, 18 May 2016 14:10:58 GMT
|
||
Last-Modified: Sun, 02 Mar 2008 09:26:05 GMT
|
||
Content-Length: 64
|
||
|
||
123456781234567
|
||
345678903456789
|
||
234567892345678
|
||
012345670123456
|
||
HTTP/1.1 206 Partial Content
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Range: bytes 0-31/64
|
||
Content-Type: text/plain; charset=us-ascii
|
||
Expires: Wed, 18 May 2016 14:10:58 GMT
|
||
Last-Modified: Sun, 02 Mar 2008 09:26:05 GMT
|
||
Content-Length: 32
|
||
|
||
123456781234567
|
||
345678903456789
|
||
HTTP/1.1 206 Partial Content
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Range: bytes 32-63/64
|
||
Content-Type: text/plain; charset=us-ascii
|
||
Expires: Wed, 18 May 2016 14:10:58 GMT
|
||
Last-Modified: Sun, 02 Mar 2008 09:26:05 GMT
|
||
Content-Length: 32
|
||
|
||
234567892345678
|
||
012345670123456
|
||
HTTP/1.1 206 Partial Content
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Range: bytes 32-63/64
|
||
Content-Type: text/plain; charset=us-ascii
|
||
Expires: Wed, 18 May 2016 14:10:58 GMT
|
||
Last-Modified: Sun, 02 Mar 2008 09:26:05 GMT
|
||
Content-Length: 32
|
||
|
||
234567892345678
|
||
012345670123456
|
||
HTTP/1.1 206 Partial Content
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Length: 230
|
||
Content-Type: multipart/byteranges; boundary="=_13835151857368357671"
|
||
|
||
|
||
--=_13835151857368357671
|
||
Content-Range: bytes 0-0/64
|
||
Content-Type: text/html; charset=UTF-8
|
||
|
||
1
|
||
--=_13835151857368357671
|
||
Content-Range: bytes 63-63/64
|
||
Content-Type: text/html; charset=UTF-8
|
||
|
||
|
||
|
||
--=_13835151857368357671--HTTP/1.1 206 Partial Content
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Range: bytes 50-63/64
|
||
Content-Type: text/plain; charset=us-ascii
|
||
Expires: Wed, 18 May 2016 14:10:58 GMT
|
||
Last-Modified: Sun, 02 Mar 2008 09:26:05 GMT
|
||
Content-Length: 14
|
||
|
||
2345670123456
|
||
HTTP/1.1 206 Partial Content
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Length: 250
|
||
Content-Type: multipart/byteranges; boundary="=_13835151857368357672"
|
||
|
||
|
||
--=_13835151857368357672
|
||
Content-Range: bytes 10-19/64
|
||
Content-Type: text/html; charset=UTF-8
|
||
|
||
34567
|
||
3456
|
||
--=_13835151857368357672
|
||
Content-Range: bytes 50-59/64
|
||
Content-Type: text/html; charset=UTF-8
|
||
|
||
2345670123
|
||
--=_13835151857368357672--HTTP/1.1 200 OK
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Type: text/plain; charset=us-ascii
|
||
Expires: Wed, 18 May 2016 14:10:58 GMT
|
||
Last-Modified: Sun, 02 Mar 2008 09:26:05 GMT
|
||
Content-Length: 64
|
||
|
||
123456781234567
|
||
345678903456789
|
||
234567892345678
|
||
012345670123456
|
||
HTTP/1.1 204 No Content
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Length: 0
|
||
|
||
HTTP/1.1 204 No Content
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Length: 0
|
||
|
||
HTTP/1.1 200 OK
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Encoding: gzip
|
||
Content-Type: text/html; charset=UTF-8
|
||
Last-Modified: Tue, 19 May 2015 13:49:04 GMT
|
||
Content-Length: 293
|
||
|
||
HTTP/1.1 200 OK
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Type: text/html; charset=UTF-8
|
||
Last-Modified: Tue, 19 May 2015 13:49:04 GMT
|
||
Content-Length: 562
|
||
|
||
<html><head><title>Index of tmp</title></head><body><h1>Index of directory: tmp</h1><hr><table><tr><td><a href="/tmp/..?_nav_"><img width="20" height="21" align="absbottom" border="0" src="/icons/dir.png"> Up one level</a></td><td></td><td></td></tr><tr><td><strong><a href="/tmp/c?_nav_"><img width="20" height="21" align="absbottom" border="0" src="/icons/generic.gif"> c</a></strong></td><td align="right" valign="bottom"> 4 Bytes</td><td align="right" valign="bottom">19/05/2015 14:10:56</td></tr></table><hr><address>ULib Server</address></body></html>HTTP/1.1 304 Not Modified
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Length: 0
|
||
|
||
HTTP/1.1 200 OK
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 1669
|
||
|
||
<html>
|
||
<head>
|
||
<title>Welcome to ULib Web Server!</title>
|
||
<!--
|
||
<script language="javascript" src="js/jquery.js" type="text/javascript"></script>
|
||
<script language="javascript" type="text/javascript">
|
||
$(document).ready( function() {
|
||
// get verification code with Ajax
|
||
$.get('get_checkingcode_php', { data:'getting code' }, function(checkingcode) { $('#codebox').html(checkingcode); }); } );
|
||
</script>
|
||
-->
|
||
</head>
|
||
|
||
<body bgcolor="white" text="black">
|
||
<center>
|
||
<h1>Welcome to ULib Web Server!</h1>
|
||
</center>
|
||
<!--
|
||
<form action="cgi-bin/check_form.php" method="post">
|
||
<p>First Name <input name="1" type="text" class="inputbox" title="Enter your first name"></p>
|
||
<p>Last Name <input name="2" type="text" class="inputbox" title="Enter your last name"></p>
|
||
<p>Email <input name="3" type="text" class="inputbox" title="Enter your email address"></p>
|
||
<p>Enter your comments below:</p>
|
||
<p><textarea name="4" title="Enter your comments" rows="10" cols="10"></textarea></p>
|
||
<div id="codebox"></div>
|
||
<p>Verification Code: <input name="5" type="text" name="code" class="checkingcode" title="Enter the above four-digit verification code"></p>
|
||
<p><input type="submit" value="Send Data"></p>
|
||
</form>
|
||
-->
|
||
|
||
<div class="Video">
|
||
<object width="400" height="225">
|
||
<param name="movie" value="http://10.30.1.131/test.flv">
|
||
<param name="allowFullScreen" value="true">
|
||
<param name="allowscriptaccess" value="always">
|
||
<embed src="http://10.30.1.131/test.flv" type="video/x-flv" allowscriptaccess="always"
|
||
allowfullscreen="true" width="400" height="225">
|
||
</object>
|
||
</div>
|
||
</body>
|
||
</html>
|
||
HTTP/1.1 200 OK
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 1928
|
||
|
||
<html><pre>
|
||
ssi_begin
|
||
This page last updated: Tuesday, 08-Nov-2011 14:38:43 GMT
|
||
</pre>
|
||
|
||
1: ok
|
||
|
||
|
||
2: ok
|
||
|
||
|
||
3: ok
|
||
|
||
|
||
4: ok
|
||
|
||
|
||
<pre>
|
||
SSI_BEGIN
|
||
Name of user: apache
|
||
|
||
Document name: ssi1.shtml
|
||
|
||
Document URI: /SSI/ssi1.shtml
|
||
|
||
It's now: Tuesday, 19-May-2015 14:10:58 GMT
|
||
|
||
It's now: Tuesday, 19-May-2015 16:10:58 CEST
|
||
|
||
This page is: 173 Bytes
|
||
|
||
This file last modified: September 28, 2010
|
||
|
||
You're using:
|
||
|
||
$HTTP_X_SENDFILE:
|
||
|
||
|
||
start PRINTENV
|
||
--------------
|
||
QUERY_STRING=
|
||
REQUEST_URI=/SSI/ssi1.shtml
|
||
SERVER_NAME=stefano
|
||
SERVER_PORT=80
|
||
CONTENT_LENGTH=0
|
||
REQUEST_METHOD=GET
|
||
SCRIPT_NAME=/SSI/ssi1.shtml
|
||
PATH_INFO=/SSI/ssi1.shtml
|
||
HTTP_HOST=10.30.1.131
|
||
SERVER_PROTOCOL=HTTP/1.1
|
||
SERVER_ADDR=10.1.55.83
|
||
DOCUMENT_ROOT=/usr/src/ULib-1.4.2/tests/examples/docroot
|
||
GATEWAY_INTERFACE=CGI/1.1
|
||
SERVER_SOFTWARE=ULib/1.4.2
|
||
REMOTE_PORT=50445
|
||
REMOTE_ADDR=127.0.0.1
|
||
SESSION_ID=127.0.0.1:0
|
||
REQUEST_ID=127.0.0.1:50445:0
|
||
PWD=/usr/src/ULib-1.4.2/tests/examples/docroot
|
||
PATH=/usr/local/bin:/usr/bin:/bin
|
||
HTTP_X_SENDFILE=puppamelo
|
||
--------------
|
||
end PRINTENV
|
||
|
||
|
||
start LS
|
||
--------------
|
||
total 32
|
||
drwxr-xr-x 3 apache apache 4096 Aug 25 2014 .
|
||
drwxr-xr-x 8 apache apache 4096 May 19 16:10 ..
|
||
drwxr-xr-x 3 apache apache 4096 Aug 25 2014 earth
|
||
-rw-r--r-- 1 apache apache 173 Sep 28 2010 embed.c
|
||
-rw-r--r-- 3 apache apache 160 Mar 28 2011 index.shtml
|
||
-rw-r--r-- 1 apache apache 352 Nov 8 2011 menu.shtml
|
||
-rw-r--r-- 1 apache apache 905 Nov 8 2011 ssi1.shtml
|
||
-rw-r--r-- 1 apache apache 1190 Aug 25 2014 ssi2.shtml
|
||
--------------
|
||
end LS
|
||
|
||
start CGI
|
||
--------------
|
||
Content-Type: text/html
|
||
|
||
<span class="code">You're not using Microsoft® Internet Explorer® 5.0</span>
|
||
--------------
|
||
end CGI
|
||
SSI include failed!
|
||
SSI include failed!
|
||
int main(void) {
|
||
struct mg_context *ctx;
|
||
const char *options[] = {"listening_ports", LISTENING_PORT, NULL};
|
||
|
||
ctx = mg_start(callback, options);
|
||
pause();
|
||
return 0;
|
||
}
|
||
|
||
SSI_END
|
||
</pre>
|
||
|
||
|
||
<pre>
|
||
ssi_end
|
||
</pre></html>
|
||
HTTP/1.1 200 OK
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Length: 115
|
||
X-Real-IP: 10.30.1.131
|
||
Set-Cookie: ulib.s1=; expires=Mon, 18 May 2015 14:10:58 GMT
|
||
Set-Cookie: ulib.s0=5374657665204a6f686e736f6e2631343332313331303538262f9929805c38e7d0597a826da96f7126; expires=Wed, 20 May 2015 14:10:58 GMT
|
||
Set-Cookie: TestCookie=pippo
|
||
Content-Type: text/html; charset=iso-8859-1
|
||
|
||
UID = Steve Johnson
|
||
HTTP_COOKIE = name1=value1, name2=value2; name3=value3, name4=value4
|
||
ULIB_SESSION =
|
||
HTTP/1.1 200 OK
|
||
Date: Tue, 19 May 2015 14:10:58 GMT
|
||
Server: ULib
|
||
Content-Encoding: gzip
|
||
Content-Type: text/html; charset=UTF-8
|
||
Content-Length: 718
|
||
|
||
<1F> |