nl_tokens: Sends failed HTTP reply
pl_tokens: function do_failure ( req , res , opts ) { opts = opts || { } ; var obj = { 'type' : opts . type || 'error' , 'code' : opts . code || 501 , 'desc' : opts . desc || ( '' + opts ) } ; res . writeHead ( obj . code , { 'Content-Type' : 'application/json' } ) ; <mask> . end ( helpers . stringify ( obj ) + '\n' ) ; }