HTTP request variables - Factor Documentation (original) (raw)

HTTP request variables
Furnace framework » HTTP server

Prev: HTTP server responders
Next: HTTP dispatchers and virtual hosting

The following variables are set by the HTTP server at the beginning of a request. Responder implementations may access these variables.
request
url
responder-nesting
params

Utility words:

post-request? ( -- ? )

param ( name -- value )
set-param ( value name -- )
request-params ( request -- assoc )

Additional variables may be set by vocabularies such as html.forms and furnace.sessions.