def _read(data): return _read_headers(BytesIO(data))
def _read(data): return _read_headers(data.splitlines(keepends=True))