MCPcopy Create free account
hub / github.com/TruthHun/BookStack / failFirstLine

Function failFirstLine

static/editor.md/lib/codemirror/mode/http/http.js:15–19  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

13
14CodeMirror.defineMode("http", function() {
15 function failFirstLine(stream, state) {
16 stream.skipToEnd();
17 state.cur = header;
18 return "error";
19 }
20
21 function start(stream, state) {
22 if (stream.match(/^HTTP\/\d\.\d/)) {

Callers 3

startFunction · 0.85
responseStatusCodeFunction · 0.85
requestProtocolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected