From 91582b752cb3998e785f815e004956a731e7cb38 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Wed, 24 Oct 2012 19:19:14 -0700 Subject: [PATCH] cgi: add some docs. --- extra/cgi/cgi-docs.factor | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/extra/cgi/cgi-docs.factor b/extra/cgi/cgi-docs.factor index 75561912b3..fe11db8950 100644 --- a/extra/cgi/cgi-docs.factor +++ b/extra/cgi/cgi-docs.factor @@ -10,3 +10,16 @@ HELP: HELP: { $values { "assoc" assoc } } { $description "Parse a CGI request into an " { $link assoc } ". Only the first parameter is kept, if multiple parameters are passed." } ; + +ARTICLE: "cgi" "CGI (Common Gateway Interface)" +"The " { $vocab-link "cgi" } " can be used to parse a CGI request:" +{ $subsections + + +} +{ $heading "Troubleshooting" } +"If the CGI script leaves elements on the stack, you'll get an error like the following (after running all of the code in your script):" +$nl +{ $snippet "Quotation called with wrong stack effect effect ( -- )" } ; + +ABOUT: "cgi"