()
| 32 | |
| 33 | def test_generator_with_transfer_encoding_header(): |
| 34 | def content() -> typing.Iterator[bytes]: |
| 35 | yield b"test 123" # pragma: no cover |
| 36 | |
| 37 | request = httpx.Request("POST", "http://example.org", content=content()) |
| 38 | assert request.headers == {"Host": "example.org", "Transfer-Encoding": "chunked"} |
no outgoing calls
no test coverage detected