nl_tokens: Parse the response type
pl_tokens: function parseResponseType ( req ) { if ( req . query && req . query . responseType ) { if ( req . query . responseType == 'modal' ) { // suport for old we.js contentOnly api req . query . responseType = req . we . config . defaultResponseType ; req . query . contentOnly = <mask> ; } req . headers . accept = mime . getType ( req . query . responseType . toLowerCase ( ) ) ; } if ( req . accepts ( req . we . config . responseTypes ) ) return ; req . headers . accept = req . we . config . defaultResponseType ; }