Handbook
Glossary
handle-put ( action -- response )
Vocabulary
furnace
.
actions
Inputs
action
an
object
Outputs
response
an
object
Definition
USING:
accessors
combinators
furnace.utilities
http.server.responses
kernel
;
IN:
furnace.actions
:
handle-put
( action -- response )
[
dup
replace>>
[
[
validate>>
( -- )
call-effect
]
[
authorize>>
( -- )
call-effect
]
[
replace>>
( -- response )
call-effect
]
tri
]
[
drop
<400>
]
if
]
curry
with-exit-continuation
;