(proxy_test_server, get_request)
| 557 | |
| 558 | @pytest.mark.xfail |
| 559 | async def xtest_proxy_https_idna_support(proxy_test_server, get_request): |
| 560 | url = "https://éé.com/" |
| 561 | proxy = await proxy_test_server() |
| 562 | |
| 563 | await get_request(url=url, proxy=proxy.url) |
| 564 | |
| 565 | connect = proxy.requests_list[0] |
| 566 | assert connect.method == "CONNECT" |
| 567 | assert connect.path == "xn--9caa.com:443" |
| 568 | assert connect.host == "xn--9caa.com" |
| 569 | |
| 570 | |
| 571 | async def test_proxy_https_connection_error(get_request) -> None: |
nothing calls this directly
no test coverage detected