Skip to content

lkrequest-py v0.1.0

Choose a tag to compare

@ezxlabs-admin ezxlabs-admin released this 31 Jul 10:46
· 9 commits to main since this release

πŸš€ Features

  • TLS Fingerprint Control β€” Byte-level ClientHello generation that matches real browsers (Chrome, Firefox, Safari)
  • HTTP/2 Fingerprint Control β€” SETTINGS frame order, pseudo-header order, WINDOW_UPDATE, PRIORITY frames, and per-request priority weights
  • HTTP/3 + QUIC β€” Optional quic-h3 feature for full HTTP/3 over QUIC with fingerprint-aware Transport Parameters, Alt-Svc auto-discovery, and H2β†’H3 seamless upgrade
  • Built-in Browser Presets β€” Chrome 131/144/145/146/147/148/149/150, Firefox 133/147, Safari 18/26 (TLS + H2, plus QUIC when quic-h3 is enabled)
  • Session Management β€” Cookie jars, connection pooling, HTTP/2 multiplexing, and optional QUIC 0-RTT session resumption
  • Connection Prewarming β€” session.preconnect() pre-establishes DNS + TCP + TLS + H2 (or, with quic-h3, QUIC + H3) connections
  • Custom DNS Resolver β€” Pluggable DNS with DoH support, auto ECH config and H3 hints via HTTPS/SVCB records
  • Alt-Svc Discovery β€” Automatic HTTP/2 β†’ HTTP/3 protocol upgrade via Alt-Svc headers with broken-QUIC fallback
  • SessionPool β€” High-concurrency pool with proxy rotation (round-robin / random)
  • Proxy Support β€” SOCKS5 and HTTP CONNECT with authentication
  • WebSocket β€” HTTP/1.1 Upgrade (RFC 6455) and H2 Extended CONNECT (RFC 8441)
  • Middleware β€” Interceptor chain for request/response modification
  • Retry Policies β€” Exponential backoff, fixed interval, custom strategies; idempotency-aware (non-idempotent methods are not silently replayed after a possibly-already-sent failure unless marked Idempotency::Idempotent)
  • Redirect Control β€” RedirectPolicy::Follow(n) or RedirectPolicy::None for manual handling
  • Auto-Decompression β€” Brotli, gzip, deflate, zstd
  • Blocking API β€” Synchronous wrapper for non-async contexts
  • Multipart/Form-Data β€” File uploads with streaming support
  • TCP Fingerprint β€” JA4T-style TCP SYN fingerprinting