Handbook
Glossary
serve-static ( filename mime-type -- response )
Vocabulary
http
.
server
.
static
Inputs
filename
an
object
mime-type
an
object
Outputs
response
an
object
Definition
USING:
accessors
combinators
http.server.responses
kernel
namespaces
;
IN:
http.server.static
:
serve-static
( filename mime-type -- response )
over
modified-since?
[
file-responder
get
hook>>
( filename mime-type -- response )
call-effect
]
[
2drop
<304>
]
if
;