Conversation
- Decompress gzip/deflate/brotli bodies in getSessionExchange() and exportHar() using stored content-encoding header. Raw compressed bytes are preserved on disk for replay fidelity. - Handle proxy_session_start gracefully when a session was already auto-started by proxy_start(persistence_enabled: true) — return the existing session instead of throwing. - Document TLS ClientHello passthrough behavior for Chrome launched via interceptor_chrome_launch (authentic browser fingerprint forwarded to upstream, not the proxy's). - Restructure README: add table of contents, move Setup to top, add session decompression and start-conflict notes to Sessions section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
proxy_get_session_exchange(include_body: true)andproxy_export_harnow automatically decompress gzip/deflate/brotli response bodies using the storedcontent-encodingheader. Previously they returned raw compressed bytes, requiring callers to decompress manually. Raw compressed bytes are preserved on disk for exact replay fidelity.proxy_session_start()no longer throws when a session was already auto-started byproxy_start(persistence_enabled: true). Instead, it returns the existing active session with a descriptive note.interceptor_chrome_launchforwards its original TLS ClientHello to upstream servers (authentic browser fingerprint, not the proxy's). Includes verification steps and a comparison table of when passthrough applies vs. when spoofing is needed.