]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
add proper return values to example.
authorEric Covener <covener@apache.org>
Thu, 6 Jun 2013 00:38:32 +0000 (00:38 +0000)
committerEric Covener <covener@apache.org>
Thu, 6 Jun 2013 00:38:32 +0000 (00:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1490091 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.xml

index 0ae76d93a17d6450d78443e08374b5927990ecbd..ebed8979151f99728b6f8c983f494d762bb9e36b 100644 (file)
@@ -119,7 +119,9 @@ function handle(r)
         end
     else
         r:puts("Unsupported HTTP method " .. r.method)
+        return 501
     end
+    return apache2.OK
 end
 </highlight>