← Về thư mục
tests/test_share_relay_tunnel.py
- _relay · function · L17-L23 — def _relay(**kw)
- _handler_factory · function · L26-L33 — def _handler_factory(routes)
- handler · function · L27-L31 — def handler(request)
- _tunnel · function · L36-L42 — def _tunnel(port, token, handler, shares)
- _get · function · L45-L56 — def _get(port, host, path, method="GET", headers=None)
- _wait_registered · function · L59-L61 — def _wait_registered(client, deadline=5.0): # allow the async share_register round-trip to complete
- test_end_to_end_visitor_fetch · function · L64-L87 — def test_end_to_end_visitor_fetch(tmp_path)
- test_range_streaming · function · L90-L115 — def test_range_streaming(tmp_path)
- test_head_has_no_body · function · L118-L141 — def test_head_has_no_body(tmp_path)
- test_unknown_share_is_404 · function · L144-L152 — def test_unknown_share_is_404(tmp_path)
- test_bad_host_label_is_404 · function · L155-L164 — def test_bad_host_label_is_404(tmp_path)
- test_method_not_allowed · function · L167-L180 — def test_method_not_allowed(tmp_path)
- test_poison_response_header_becomes_502 · function · L183-L203 — def test_poison_response_header_becomes_502(tmp_path)
- test_different_principal_conflict · function · L206-L238 — def test_different_principal_conflict(tmp_path)
- test_xff_ignored_without_trust_proxy · function · L241-L252 — def test_xff_ignored_without_trust_proxy(tmp_path)
- client_a_fp · function · L255-L258 — def client_a_fp(token: str) -> str