httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1490091 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
Date Thu, 06 Jun 2013 00:38:33 GMT
Author: covener
Date: Thu Jun  6 00:38:32 2013
New Revision: 1490091

URL: http://svn.apache.org/r1490091
Log:
add proper return values to example.


Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_lua.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.xml?rev=1490091&r1=1490090&r2=1490091&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml Thu Jun  6 00:38:32 2013
@@ -119,7 +119,9 @@ function handle(r)
         end
     else
         r:puts("Unsupported HTTP method " .. r.method)
+        return 501
     end
+    return apache2.OK
 end
 </highlight>
 



Mime
View raw message