Skip to main content

Module offline

Module offline 

Source
Expand description

TetherScript-backed offline browser primitives.

Net-new capability surface introduced for tetherscript v0.1.0-alpha.12. See src/cli/browserctl/offline.rs for the CLI dispatch.

Modules§

auth_trace
Walk an HTTP redirect chain, carry cookies hop-to-hop via tetherscript BrowserSession’s jar, emit JSON trace.
cookie_diff
Diff two JSON cookie jars. Keyed on (name, domain, path) via cookie_diff_index. Any record-level difference counts as changed, not just value.
cookie_parse
Minimal Set-Cookie parser. Captures name, value, and lowercase attribute map.
explain_cors
Send a CORS preflight (OPTIONS) and classify whether the cross-origin call would be allowed.
record
Capture an HTTP GET (status + headers + body) to JSON. Body is base64 so binary payloads survive a round-trip through replay.
replay
Replay captured HTTP responses through tetherscript.