]> gitweb.factorcode.org Git - factor.git/commitdiff
http.server: addng OPTIONS/PUT support to request-params.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 13 Oct 2020 18:35:06 +0000 (11:35 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 13 Oct 2020 18:35:06 +0000 (11:35 -0700)
basis/http/server/server.factor

index 8ea64049d574baea959a16ed78f924e04ef4d9c4..1ed9d0cbc123eac9db4b7d3e41b452d7a0b2d523 100644 (file)
@@ -141,7 +141,9 @@ LOG: httpd-header NOTICE
     dup method>> {
         { "GET" [ url>> query>> ] }
         { "HEAD" [ url>> query>> ] }
+        { "OPTIONS" [ url>> query>> ] }
         { "POST" [ post-data>> params>> ] }
+        { "PUT" [ post-data>> params>> ] }
     } case ;
 
 SYMBOL: params