MCPcopy
hub / github.com/encode/httpx / splitlines

Function splitlines

tests/test_main.py:9–10  ·  tests/test_main.py::splitlines
(output: str)

Source from the content-addressed store, hash-verified

7
8
9def splitlines(output: str) -> typing.Iterable[str]:
10 return [line.strip() for line in output.splitlines()]
11
12
13def remove_date_header(lines: typing.Iterable[str]) -> typing.Iterable[str]:

Callers 9

test_getFunction · 0.85
test_jsonFunction · 0.85
test_binaryFunction · 0.85
test_redirectsFunction · 0.85
test_follow_redirectsFunction · 0.85
test_postFunction · 0.85
test_verboseFunction · 0.85
test_authFunction · 0.85
test_errorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected