Revert "http.server.cgi: fix for the dependency cycle http.server.cgi <=>"

This reverts commit 51c5484e24.
db4
John Benediktsson 2015-10-02 11:12:56 -07:00
parent 51c5484e24
commit 761f0d630e
2 changed files with 5 additions and 9 deletions

View File

@ -1,9 +1,6 @@
USING: help.markup help.syntax ; USING: help.markup help.syntax http.server.static ;
IN: http.server.cgi IN: http.server.cgi
DEFER: file-responder
DEFER: <static>
HELP: enable-cgi HELP: enable-cgi
{ $values { "responder" file-responder } } { $values { "responder" file-responder } }
{ $description "Enables the responder to serve " { $snippet ".cgi" } " scripts by executing them as per the CGI specification." } { $description "Enables the responder to serve " { $snippet ".cgi" } " scripts by executing them as per the CGI specification." }
@ -18,5 +15,3 @@ HELP: enable-cgi
ARTICLE: "http.server.cgi" "Serving CGI scripts" 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." "The " { $vocab-link "http.server.cgi" } " implements CGI support. It is used in conjunction with a " { $link <static> } " responder."
{ $subsections enable-cgi } ; { $subsections enable-cgi } ;
ABOUT: "http.server.cgi"

View File

@ -1,8 +1,9 @@
! Copyright (C) 2007, 2009 Slava Pestov. ! Copyright (C) 2007, 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs calendar fry http http.server io USING: namespaces kernel assocs io.files io.streams.duplex
io.encodings io.encodings.binary io.launcher io.streams.duplex kernel combinators arrays io.launcher io.encodings io.encodings.binary io
make math.parser namespaces sequences urls urls.encoding ; http.server.static http.server http accessors sequences strings
math.parser fry urls urls.encoding calendar make ;
IN: http.server.cgi IN: http.server.cgi
: cgi-variables ( script-path -- assoc ) : cgi-variables ( script-path -- assoc )