Example #1
0
 def _read(data):
     return _read_headers(BytesIO(data))
Example #2
0
 def _read(data):
     return _read_headers(data.splitlines(keepends=True))
Example #3
0
 def _read(data):
     return _read_headers(BytesIO(data))