SplitRequestLine splits given slice of bytes into three chunks without parsing.
(line []byte)
| 28 | // SplitRequestLine splits given slice of bytes into three chunks without |
| 29 | // parsing. |
| 30 | func SplitRequestLine(line []byte) (method, uri, version []byte) { |
| 31 | return split3(line, ' ') |
| 32 | } |
| 33 | |
| 34 | // ParseRequestLine parses http request line like "GET / HTTP/1.0". |
| 35 | func ParseRequestLine(line []byte) (r RequestLine, ok bool) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…