|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50985 - sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/DebugServer2
From: lists.drrngrvy_at_[hidden]
Date: 2009-02-02 19:35:36
Author: drrngrvy
Date: 2009-02-02 19:35:35 EST (Mon, 02 Feb 2009)
New Revision: 50985
URL: http://svn.boost.org/trac/boost/changeset/50985
Log:
svn props
Added:
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/DebugServer2/default_view.html (contents, props changed)
Properties modified:
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/DebugServer2/debug_view.html (props changed)
Added: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/DebugServer2/default_view.html
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/DebugServer2/default_view.html 2009-02-02 19:35:35 EST (Mon, 02 Feb 2009)
@@ -0,0 +1,32 @@
+
+
+<html>
+<head>
+<title>CGI Debug Server Example (using Google cTemplate)</title>
+<link rel="stylesheet" type="text/css" href="/css/debug_view.css" />
+</head>
+<body>
+
+<h1>Debugging Server Example</h1>
+<p>
+ The server used in this example will catch exceptions thrown by
+ your request handler, or a non-zero return value. It will print
+ some presumably helpful info about what might have caused the
+ problem - obviously this is just an example, which you'd
+ probably want to ammend.
+</p>
+<p>
+ The handler in this example will throw a std::runtime_error if
+ you pass 'badger=bait!' to the script, for example by following this link.
+</p>
+<p>
+ The handler in this example will also return false if you pass
+ pass 'spam' to the script, for example by clicking here.
+</p>
+<p>
+ Finally, you can simulate an error and get traceback details
+ regardless of whether the script completed by passing 'debug=1',
+ or by following this link.
+</p>
+</body>
+</html>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk