(stream, state)
| 64 | } |
| 65 | |
| 66 | function requestProtocol(stream, state) { |
| 67 | if (stream.match(/^HTTP\/\d\.\d$/)) { |
| 68 | state.cur = header; |
| 69 | return "keyword"; |
| 70 | } else { |
| 71 | return failFirstLine(stream, state); |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | function header(stream) { |
| 76 | if (stream.sol() && !stream.eat(/[ \t]/)) { |
nothing calls this directly
no test coverage detected