<trivial-response> ( code message -- response )
Furnace framework » HTTP server » Canned HTTP responses

Prev:<404> ( -- response )


Vocabulary
http.server.responses

Inputs
codean integer
messagea string


Outputs
responsea response


Word description
Creates an HTTP error response.

Examples
USE: http.server.responses 415 "Unsupported Media Type" <trivial-response>


Definition