]> gitweb.factorcode.org Git - factor.git/commitdiff
http.server.cgi: fix for the dependency cycle http.server.cgi <=>
authorBjörn Lindqvist <bjourne@gmail.com>
Fri, 2 Oct 2015 12:19:47 +0000 (14:19 +0200)
committerBjörn Lindqvist <bjourne@gmail.com>
Fri, 2 Oct 2015 12:19:47 +0000 (14:19 +0200)
http.server.static (#1311)

basis/http/server/cgi/cgi-docs.factor
basis/http/server/cgi/cgi.factor

index 1bd700c873bea9b1b3679b5c66dcc44ab635b6b0..76256f1445eae4022fecbe8c31923374f1cd396e 100644 (file)
@@ -1,6 +1,9 @@
-USING: help.markup help.syntax http.server.static ;
+USING: help.markup help.syntax ;
 IN: http.server.cgi
 
+DEFER: file-responder
+DEFER: <static>
+
 HELP: enable-cgi
 { $values { "responder" file-responder } }
 { $description "Enables the responder to serve " { $snippet ".cgi" } " scripts by executing them as per the CGI specification." }
@@ -15,3 +18,5 @@ HELP: enable-cgi
 ARTICLE: "http.server.cgi" "Serving CGI scripts"
 "The " { $vocab-link "http.server.cgi" } " implements CGI support. It is used in conjunction with a " { $link <static> } " responder."
 { $subsections enable-cgi } ;
+
+ABOUT: "http.server.cgi"
index 0299f0118d84b1a3bc7bf1b80ae02a1e1e494c23..b8ebc63d305eea4aa8180dd5c7b18103ce732580 100644 (file)
@@ -1,9 +1,8 @@
 ! Copyright (C) 2007, 2009 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: namespaces kernel assocs io.files io.streams.duplex
-combinators arrays io.launcher io.encodings io.encodings.binary io
-http.server.static http.server http accessors sequences strings
-math.parser fry urls urls.encoding calendar make ;
+USING: accessors arrays assocs calendar fry http http.server io
+io.encodings io.encodings.binary io.launcher io.streams.duplex kernel
+make math.parser namespaces sequences urls urls.encoding ;
 IN: http.server.cgi
 
 : cgi-variables ( script-path -- assoc )