()
| 595 | |
| 596 | |
| 597 | def test_url_copywith_netloc(): |
| 598 | copy_with_kwargs = { |
| 599 | "netloc": b"example.net:444", |
| 600 | } |
| 601 | url = httpx.URL("https://example.org") |
| 602 | new = url.copy_with(**copy_with_kwargs) |
| 603 | assert str(new) == "https://example.net:444" |
| 604 | |
| 605 | |
| 606 | def test_url_copywith_userinfo_subcomponents(): |