(headers: str)
| 39 | |
| 40 | |
| 41 | def headers_parse_re(headers: str) -> HTTPHeaders: |
| 42 | h = HTTPHeaders() |
| 43 | for line in _CRLF_RE.split(headers): |
| 44 | if line: |
| 45 | h.parse_line(line) |
| 46 | return h |
| 47 | |
| 48 | |
| 49 | def headers_parse_simple(headers: str) -> HTTPHeaders: |
no test coverage detected