-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." }
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"
! 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 )