projects
/
project
/
uhttpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples: add ucode handler example
[project/uhttpd.git]
/
examples
/
ucode
/
handler.uc
diff --git a/examples/ucode/handler.uc
b/examples/ucode/handler.uc
new file mode 100644
(file)
index 0000000..
e71ac26
--- /dev/null
+++ b/
examples/ucode/handler.uc
@@ -0,0
+1,7
@@
+{%
+
+'use strict';
+
+global.handle_request = function(env) {
+ include("dump-env.uc", { env });
+};