(stream, state)
| 51 | } |
| 52 | |
| 53 | function requestProtocol(stream, state) { |
| 54 | if (stream.match(/^HTTP\/\d\.\d$/)) { |
| 55 | state.cur = header; |
| 56 | return "keyword"; |
| 57 | } else { |
| 58 | return failFirstLine(stream, state); |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | function header(stream) { |
| 63 | if (stream.sol() && !stream.eat(/[ \t]/)) { |
nothing calls this directly
no test coverage detected