Handbook
Glossary
enable-fhtml ( responder -- responder )
Furnace framework
»
HTTP server
»
Serving static content
»
Hooks for dynamic content
Next:
<file-responder> ( root hook -- responder )
Vocabulary
http
.
server
.
static
Inputs
responder
a
file-responder
Outputs
responder
a
file-responder
Word description
Enables the responder to serve
.fhtml
files by running them.
Notes
See
FHTML templates
.
Side effects
Modifies
responder
Definition
USING:
accessors
assocs
kernel
;
IN:
http.server.static
:
enable-fhtml
( responder -- responder )
[
serve-fhtml
]
"application/x-factor-server-page"
pick
special>>
set-at
"index.fhtml"
over
add-index
;