projects
/
nodejsws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
more moving
[nodejsws.git]
/
examples
/
simple
/
purls
/
web_nobody.js
diff --git a/examples/simple/purls/web_nobody.js
b/examples/simple/purls/web_nobody.js
new file mode 100644
(file)
index 0000000..
67eef07
--- /dev/null
+++ b/
examples/simple/purls/web_nobody.js
@@ -0,0
+1,8
@@
+function process(request, response, callback) {
+ response.writeHead(302, { 'Location':'/body/'})
+ callback(request, response);
+}
+
+
+exports.process = process;
+exports.requireBody = function() { return false;};