]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/furnace/actions/actions.factor
furnace.actions: return Method Not Allowed if not GET/HEAD/POST.
[factor.git] / basis / furnace / actions / actions.factor
index e5720636ff470e42d228d3ee535a48a0cefa244e..4d3a179942299b1f71735423ca467073abeadb71 100644 (file)
@@ -96,6 +96,7 @@ M: action call-responder* ( path action -- response )
         { "GET" [ handle-get ] }
         { "HEAD" [ handle-get ] }
         { "POST" [ handle-post ] }
+        [ 2drop <405> ]
     } case ;
 
 M: action modify-form