Fab.accept is a project mainly written in JavaScript, it's free.
Simple (fab) app to respond to Accept HTTP headers
Ternary for streaming based on Accept HTTP header.
( route, /^/status/ ) ( accept, "text/html" ) ( PRE ) ( player_status ) () () (accept, "text/plain") (undefined, {headers: { "Content-Type": "text/plain"}}) ( player_status ) () ()
Notes / TODOs: