HTTP request and response editing module for CodeMirror.
var codemirrorHttp = require('codemirror-http');
codemirrorHttp.install(CodeMirror);
editor.setMode('httprequest'); // for http requests
editor.setMode('httpresponse'); // for http responses
npm install codemirror-http