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
respondera file-responder


Outputs
respondera file-responder


Word description
Enables the responder to serve .fhtml files by running them.

Notes
See FHTML templates.

Side effects
Modifies responder

Definition


: enable-fhtml ( responder -- responder )
[ serve-fhtml ] "application/x-factor-server-page" pick
special>> set-at "index.fhtml" over add-index ;