Handbook
Glossary
<500> ( error -- response )
Vocabulary
http
.
server
Inputs
error
an
object
Outputs
response
an
object
Definition
USING:
accessors
http.server.responses
kernel
namespaces
;
IN:
http.server
:
<500>
( error -- response )
500
"Internal server error"
<trivial-response>
swap
development?
get
[
make-http-error
>>body
]
[
drop
]
if
;