()
| 633 | |
| 634 | |
| 635 | def test_url_copywith_query(): |
| 636 | url = httpx.URL("https://example.org") |
| 637 | url = url.copy_with(query=b"a=123") |
| 638 | assert url.path == "/" |
| 639 | assert url.query == b"a=123" |
| 640 | assert url.raw_path == b"/?a=123" |
| 641 | |
| 642 | |
| 643 | def test_url_copywith_raw_path(): |