← Về thư mục
tests/test_gateway_static_cache.py
- _Hub · class · L28-L33 — class _Hub
- emitter · method · L29-L30 — def emitter(self, root_frame_id)
- broadcast · method · L32-L33 — def broadcast(self, root_frame_id, event)
- _write · function · L36-L40 — def _write(webui: Path, rel: str, data: bytes) -> Path
- static_daemon · function · L44-L96 — def static_daemon(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
- _get · function · L99-L116 — def _get( port: int, path: str, token: str, extra: dict[str, str] | None = None, ) -> tuple[int, dict[str, str], bytes]
- _security_keys · function · L119-L120 — def _security_keys() -> set[str]
- test_fingerprint_names_are_the_hashed_vendor_assets · function · L144-L145 — def test_fingerprint_names_are_the_hashed_vendor_assets(name: str, expected: bool)
- test_index_html_defers_body_scripts_and_preloads_roman_fonts · function · L148-L166 — def test_index_html_defers_body_scripts_and_preloads_roman_fonts()
- test_etag_miss_then_hit_is_empty_304_with_security_headers · function · L169-L199 — def test_etag_miss_then_hit_is_empty_304_with_security_headers(static_daemon)
- test_gzip_negotiation_vary_and_identity_fallback · function · L202-L267 — def test_gzip_negotiation_vary_and_identity_fallback(static_daemon)
- test_immutable_cache_control_is_only_for_fingerprint_names · function · L270-L295 — def test_immutable_cache_control_is_only_for_fingerprint_names(static_daemon)
- test_files_over_the_stream_threshold_still_etag_and_304 · function · L298-L334 — def test_files_over_the_stream_threshold_still_etag_and_304( static_daemon, monkeypatch: pytest.MonkeyPatch )
- _wrap · function · L310-L312 — def _wrap(self, path, ctype, extra=None, security=None)
- test_symlink_escape_is_forbidden_after_realpath · function · L337-L357 — def test_symlink_escape_is_forbidden_after_realpath(static_daemon)