stealthhttp 0.3.1__tar.gz → 0.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/CHANGELOG.md +42 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/PKG-INFO +1 -1
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/pyproject.toml +1 -1
- stealthhttp-0.5.0/python/stealthhttp/__init__.py +296 -0
- stealthhttp-0.5.0/python/stealthhttp/adaptive_persona.py +393 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/auto_bypass.py +69 -4
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/behavior.py +1 -0
- stealthhttp-0.5.0/python/stealthhttp/browser_fsm.py +395 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/__init__.py +30 -13
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/perimeterx.py +58 -21
- stealthhttp-0.5.0/python/stealthhttp/canvas_webgl_sim.py +253 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/cdp_solver.py +127 -128
- stealthhttp-0.5.0/python/stealthhttp/challenge_vm.py +460 -0
- stealthhttp-0.5.0/python/stealthhttp/coherence.py +187 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/collectors/perimeterx.py +45 -6
- stealthhttp-0.5.0/python/stealthhttp/cookie_intel.py +211 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/cookies.py +4 -2
- stealthhttp-0.5.0/python/stealthhttp/cover_traffic.py +187 -0
- stealthhttp-0.5.0/python/stealthhttp/dns_tunnel.py +382 -0
- stealthhttp-0.5.0/python/stealthhttp/entropy_mask.py +247 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/forms.py +25 -7
- stealthhttp-0.5.0/python/stealthhttp/honeypot_oracle.py +293 -0
- stealthhttp-0.5.0/python/stealthhttp/immortal.py +210 -0
- stealthhttp-0.5.0/python/stealthhttp/mesh.py +316 -0
- stealthhttp-0.5.0/python/stealthhttp/poison_detect.py +350 -0
- stealthhttp-0.5.0/python/stealthhttp/predictive_rate.py +94 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/prepare.py +9 -0
- stealthhttp-0.5.0/python/stealthhttp/proto_chameleon.py +252 -0
- stealthhttp-0.5.0/python/stealthhttp/replay_attack.py +391 -0
- stealthhttp-0.5.0/python/stealthhttp/resp_diff.py +285 -0
- stealthhttp-0.5.0/python/stealthhttp/rhythm.py +92 -0
- stealthhttp-0.5.0/python/stealthhttp/self_audit.py +370 -0
- stealthhttp-0.5.0/python/stealthhttp/session_dna.py +375 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/session_ext.py +33 -0
- stealthhttp-0.5.0/python/stealthhttp/smart_retry.py +168 -0
- stealthhttp-0.5.0/python/stealthhttp/synth_fingerprint.py +324 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tests/test_features_v3.py +1 -1
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tests/test_v030_features.py +78 -1
- stealthhttp-0.5.0/python/stealthhttp/tests/test_v040_features.py +979 -0
- stealthhttp-0.5.0/python/stealthhttp/tests/test_v050_batch1.py +378 -0
- stealthhttp-0.5.0/python/stealthhttp/tests/test_v050_batch2.py +638 -0
- stealthhttp-0.5.0/python/stealthhttp/tests/test_v050_integrations.py +255 -0
- stealthhttp-0.5.0/python/stealthhttp/tests/test_v050_live.py +309 -0
- stealthhttp-0.5.0/python/stealthhttp/tls_clone.py +294 -0
- stealthhttp-0.5.0/python/stealthhttp/traffic_morph.py +333 -0
- stealthhttp-0.5.0/python/stealthhttp/waf_recon.py +276 -0
- stealthhttp-0.3.1/python/stealthhttp/__init__.py +0 -443
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/.cargo/config.toml +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/.github/workflows/release.yml +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/.gitignore +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/Cargo.lock +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/Cargo.toml +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/LICENSE +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/README.md +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/benchmarks/bench.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/benchmarks/bench_native.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/examples/basic.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/_fallback.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/_loader.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/_rotation.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/ambient.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/antidetect.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/async_session.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/auto_profile.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/backends/__init__.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/backends/base.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/backends/curl_backend.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/backends/native_backend.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/backends/wreq_backend.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/browser_cookies.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/browser_pool.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/browsing.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/akamai.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/captcha.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/cloudflare.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/datadome.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/flow.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/imperva.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/kasada.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/shape.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/bypasses/solver.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/capabilities.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/captcha.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/captcha_farm.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/challenge.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/clienthints.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/collectors/__init__.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/collectors/akamai.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/collectors/datadome.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/collectors/imperva.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/collectors/kasada.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/collectors/shape.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/consistency.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/detection.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/device_db.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/dns_intel.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/doh.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/error_analysis.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/exceptions.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/fingerprint_diff.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/geo.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/graphql.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/h2_frames.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/har.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/header_canon.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/health_monitor.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/hooks.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/hsts.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/httpcache.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/humanize.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/identity.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/js_sandbox.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/jsdb.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/jsenv.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/lifecycle.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/lint.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/middleware.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/multipart.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/parsing.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/pow.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/proxy.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/proxy_scoring.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/record_replay.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/redirect_intel.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/request_graph.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/response.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/response_decoder.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/response_intel.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/retry.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/rotation.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/selfcheck.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/sensors.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/session.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/session_coord.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/site_recipes.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/smart_proxy.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/__init__.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/audio.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/base.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/browser.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/local.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/orchestrator.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/providers.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/solving/vision.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/stealth_audit.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/strategy.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tcp_tuning.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tests/test_cdp_solver.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tests/test_features_v3_live.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tls_ext.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tls_intel.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/tls_session.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/traffic.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/python/stealthhttp/websocket.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/fingerprint/headers.rs +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/fingerprint/ja3.rs +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/fingerprint/ja4.rs +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/fingerprint/mod.rs +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/fingerprint/profile.rs +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/lib.rs +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/proxypool.rs +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/rotation.rs +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/transport/decode.rs +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/transport/engine.rs +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/transport/mod.rs +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/src/transport/tls.rs +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/conftest.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_audio.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_bypass.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_bypasses.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_bypasses_live.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_emulation.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_features_v2.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_features_v2_live.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_fingerprint.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_humanize.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_jsemu.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_jsemu_live.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_live_bypass.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_live_detection.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_new_features.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_policies.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_routing.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_session.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_solving.py +0 -0
- {stealthhttp-0.3.1 → stealthhttp-0.5.0}/tests/test_vision.py +0 -0
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.0] - 2026-08-11
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- **entropy_mask** -- EntropyMask, PayloadNormalizer for masking statistical anomalies in HTTP traffic (Shannon entropy normalization, JSON key reordering, q-factor mutation)
|
|
8
|
+
- **honeypot_oracle** -- HoneypotOracle, TrapDetector, LinkClassifier for detecting honeypot traps before following them (Naive Bayes with 17 features, invisible link detection, trap form fields)
|
|
9
|
+
- **canvas_webgl_sim** -- CanvasSimulator, WebGLProfile, AudioContextSim for generating canvas/WebGL/AudioContext fingerprints without rendering (312 GPU combos, consistency-checked)
|
|
10
|
+
- **session_dna** -- SessionDNA, FingerprintGenome, EvolutionEngine for genetic algorithm fingerprint evolution (tournament selection, 2-point crossover, adaptive mutation, crowding distance)
|
|
11
|
+
- **adaptive_persona** -- AdaptivePersona, BehaviorGraph for DAG-based browsing behavior modeling with Thompson Sampling mutation selection
|
|
12
|
+
- **replay_attack** -- ReplayAttackDetector, RequestMutator for detecting and bypassing replay protection (nonce, HMAC, timestamp validation)
|
|
13
|
+
- **tls_clone** -- TLSSessionCloner, SessionTicketStore for cloning TLS session state from browser via CDP (TLS 1.3 PSK resumption)
|
|
14
|
+
- **browser_fsm** -- BrowserStateMachine, NavigationFSM for finite state machine modeling real browser state transitions with auto-repair
|
|
15
|
+
- **traffic_morph** -- TrafficMorpher, PacketPadder, TimingDistribution for transport-level traffic morphing (H2 padding, TCP window, concurrency batching)
|
|
16
|
+
- **dns_tunnel** -- DNSTunnel, DoHRelay, EDNSClientSubnet for DNS-level bypass (DoH relay, EDNS Client Subnet geo-spoof, DNS cache with TTL)
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **bypasses/perimeterx** -- detect() now catches _pxAppId, window._pxVid, px-cdn, human.security markers; extended to 429/503 statuses (was 403-only)
|
|
21
|
+
- **cdp_solver** -- added fetch_through() for CDP proxy mode (bypasses TLS fingerprint mismatch); enhanced stealth patches (navigator.connection, outerWidth/Height, chrome.app, HeadlessChrome UA fix)
|
|
22
|
+
- **auto_bypass** -- added CDP proxy mode fallback (_try_cdp_fetch) after regular CDP solve fails
|
|
23
|
+
- **bypasses/__init__** -- _try_cdp_solver now falls back to solve_and_fetch when cookie-based CDP solve fails due to TLS mismatch
|
|
24
|
+
|
|
25
|
+
## [0.4.0] - 2026-08-10
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
|
|
29
|
+
- **synth_fingerprint** -- SynthProfile and FingerprintSynthesizer for generating realistic browser fingerprints from statistical models
|
|
30
|
+
- **waf_recon** -- WafInfo, recon_sync/recon for identifying WAF vendors and versions from response signatures
|
|
31
|
+
- **poison_detect** -- PoisonScore, PoisonDetector, poison_check for detecting cache poisoning and response manipulation
|
|
32
|
+
- **resp_diff** -- DiffReport, diff_json, diff_html_structure, compare_bodies for structural comparison of HTTP responses
|
|
33
|
+
- **predictive_rate** -- PredictiveRateLimiter for anticipating rate limit windows and pre-throttling requests
|
|
34
|
+
- **smart_retry** -- FailureDiagnosis, RetryStrategy, SmartRetry for intelligent retry with root-cause failure analysis
|
|
35
|
+
- **rhythm** -- HumanRhythm, weibull_delay for Weibull-distributed inter-request timing that mimics human browsing patterns
|
|
36
|
+
- **coherence** -- CoherentProfile, coherent_headers, check_coherence, country_to_locale/timezone/accept_language for ensuring header-locale-timezone consistency
|
|
37
|
+
- **cookie_intel** -- CookieClassification, CookieIntelligence for classifying cookies by vendor and purpose (tracking, auth, antibot)
|
|
38
|
+
- **cover_traffic** -- SubResource, CoverTrafficGenerator for generating plausible background requests (CSS, JS, images) alongside primary requests
|
|
39
|
+
- **immortal** -- ImmortalSession for sessions that survive proxy failures, identity rotation, and connection drops without losing state
|
|
40
|
+
- **mesh** -- SessionMesh, MeshState for coordinating multiple sessions with shared state and identity distribution
|
|
41
|
+
- **challenge_vm** -- ChallengeVM, ChallengeResult for executing JavaScript challenge scripts in an isolated VM environment
|
|
42
|
+
- **proto_chameleon** -- ProtocolChameleon, NegotiationResult for dynamic HTTP/1.1 vs HTTP/2 vs HTTP/3 negotiation matching target server preferences
|
|
43
|
+
- **self_audit** -- RequestAuditor, AuditReport, AuditFinding for runtime self-inspection of outgoing requests against known detection vectors
|
|
44
|
+
|
|
3
45
|
## [0.3.1] - 2026-08-10
|
|
4
46
|
|
|
5
47
|
### Fixed
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
"""stealthhttp — HTTP with TLS fingerprint impersonation.
|
|
2
|
+
|
|
3
|
+
from stealthhttp import Session
|
|
4
|
+
|
|
5
|
+
s = Session(browser="chrome136", proxy="http://user:pass@ip:port")
|
|
6
|
+
r = s.get("https://example.com", timeout=15)
|
|
7
|
+
print(r.status_code, r.text)
|
|
8
|
+
|
|
9
|
+
print(s.ja3_hash, s.ja4)
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
from __future__ import annotations
|
|
13
|
+
|
|
14
|
+
from typing import Any
|
|
15
|
+
|
|
16
|
+
from . import bypasses, collectors, multipart
|
|
17
|
+
from ._loader import NATIVE, Profile, Rotator, build_profile, resolve_profile
|
|
18
|
+
from .antidetect import Jitter
|
|
19
|
+
from .backends import available_backends, get_backend
|
|
20
|
+
from .browsing import KINDS, RefererChain, fetch_site
|
|
21
|
+
from .bypasses import BypassEngine, BypassResult
|
|
22
|
+
from .capabilities import CAPABILITIES, Cap, CapabilityUnsupported, Router
|
|
23
|
+
from .captcha import Challenge, Solvability, Solver, Vendor, identify
|
|
24
|
+
from .clienthints import HintStore
|
|
25
|
+
from .collectors import (
|
|
26
|
+
AkamaiSensor,
|
|
27
|
+
DataDomeCollector,
|
|
28
|
+
ImpervaCollector,
|
|
29
|
+
PerimeterXCollector,
|
|
30
|
+
)
|
|
31
|
+
from .identity import Identity, IdentityStore
|
|
32
|
+
from .behavior import PageVisit, VisitPlan, plan_visit
|
|
33
|
+
from .challenge import CLEARANCE_COOKIES, ChallengeTracker, find_interstitial
|
|
34
|
+
from .cookies import Cookie, CookieJar
|
|
35
|
+
from .detection import VECTORS, Layer, Status, audit, lint
|
|
36
|
+
from .geo import COUNTRY_LANGUAGES, ProxyGeo, language_for
|
|
37
|
+
from .hsts import HstsStore
|
|
38
|
+
from .httpcache import ResponseCache
|
|
39
|
+
from .humanize import (
|
|
40
|
+
DEFAULT_MAX_KMH,
|
|
41
|
+
ActivityClock,
|
|
42
|
+
FlowStep,
|
|
43
|
+
TravelCheck,
|
|
44
|
+
check_travel,
|
|
45
|
+
dwell_times,
|
|
46
|
+
)
|
|
47
|
+
from .jsenv import JsEnvironment
|
|
48
|
+
from .exceptions import (
|
|
49
|
+
Banned,
|
|
50
|
+
CircuitOpen,
|
|
51
|
+
ConnectionError,
|
|
52
|
+
HTTPStatusError,
|
|
53
|
+
NoHealthyProxies,
|
|
54
|
+
ProxyError,
|
|
55
|
+
RequestsError,
|
|
56
|
+
StealthHTTPError,
|
|
57
|
+
Timeout,
|
|
58
|
+
TooManyRedirects,
|
|
59
|
+
UnknownProfile,
|
|
60
|
+
)
|
|
61
|
+
from .hooks import HookRegistry, PreparedRequest, log_hook
|
|
62
|
+
from .pow import PowSolution, solve_sha256
|
|
63
|
+
from .proxy import ProxyPool, detect_ban
|
|
64
|
+
from .response import Response
|
|
65
|
+
from .retry import CircuitBreaker, RetryPolicy
|
|
66
|
+
from .selfcheck import measure, predict, verify
|
|
67
|
+
from .sensors import (
|
|
68
|
+
InteractionSequence,
|
|
69
|
+
KeyboardTrack,
|
|
70
|
+
MouseEvent,
|
|
71
|
+
MouseTrack,
|
|
72
|
+
ScrollTrack,
|
|
73
|
+
TouchTrack,
|
|
74
|
+
)
|
|
75
|
+
from .session import Session
|
|
76
|
+
from .async_session import AsyncSession
|
|
77
|
+
from .doh import DoHResolver
|
|
78
|
+
from .har import export_har, save_har, load_har, replay_har
|
|
79
|
+
from .parsing import HTMLDocument, Element
|
|
80
|
+
from .websocket import WebSocket
|
|
81
|
+
from .proxy import parse_chain, connect_chain
|
|
82
|
+
from .tcp_tuning import TCPProfile, ConnectionPoolPolicy, apply_tcp_profile, dns_prefetch_domains
|
|
83
|
+
from .tls_session import SessionTicket, SessionTicketCache, RecordSplitPattern, TLSCaptureProxy
|
|
84
|
+
from .tls_ext import ECHConfig, ALPSConfig, CertCompression, shuffle_extensions, get_pq_curve
|
|
85
|
+
from .h2_frames import PriorityTree, FlowControlProfile, ConditionalHeaders, accept_for_type
|
|
86
|
+
from .consistency import EntropyScorer, NavigatorCoherence, validate_cross_layer
|
|
87
|
+
from .device_db import DeviceSpec, pick_device
|
|
88
|
+
from .ambient import AmbientLoader, DecoyTraffic, TimingCoherence, WarmupPipeline
|
|
89
|
+
from .lifecycle import PageLifecycle, ScrollDepthModel, HumanIdleModel
|
|
90
|
+
from .browser_cookies import import_chrome, import_firefox, find_browser_profiles
|
|
91
|
+
from .rotation import AgeRotator, GradientRotator, SessionRecorder
|
|
92
|
+
from .middleware import Middleware, MiddlewarePipeline, RateLimitMiddleware
|
|
93
|
+
from .strategy import AdaptiveStrategy, WAFDetector, HoneypotDetector, RateLimitPredictor, StealthDiagnostic
|
|
94
|
+
from .js_sandbox import JSSandbox, Deobfuscator, match_challenge, CHALLENGE_TEMPLATES
|
|
95
|
+
from .middleware import ConcurrencyLimiter, DomainThrottle, CorsPreflight, CacheRevalidator
|
|
96
|
+
from .stealth_audit import StealthScore, ProfileDiff, quick_audit
|
|
97
|
+
from .auto_profile import AutoProfileSelector, ProfileRotationPolicy
|
|
98
|
+
from .header_canon import HeaderCanonicalizer, PseudoHeaderOrder
|
|
99
|
+
from .tls_intel import CertAnalyzer, ServerFingerprint, MitmDetector
|
|
100
|
+
from .response_intel import BodyIntelligence, CookieClassifier, PatternDetector
|
|
101
|
+
from .traffic import NetworkSimulator, TrafficShaper, BandwidthMonitor, NETWORK_PROFILES
|
|
102
|
+
from .dns_intel import DnsLeakChecker, CnameTracker, CdnDetector, DnsPrefetchPlanner
|
|
103
|
+
from .proxy_scoring import ProxyScorer, ProxyBenchmark
|
|
104
|
+
from .redirect_intel import RedirectTracker, ChallengeRedirectDetector, RedirectPattern
|
|
105
|
+
from .error_analysis import ErrorClassifier, ErrorPattern, FixSuggester
|
|
106
|
+
from .session_coord import SharedRateLimiter, IdentityRotationPolicy, SessionPool, CoordinationHub
|
|
107
|
+
from .health_monitor import HealthMonitor, AlertManager, HealthStatus, SessionHealth
|
|
108
|
+
from .request_graph import RequestGraph, ResourceNode, build_graph_from_html, estimate_load_time
|
|
109
|
+
from .response_decoder import ContentDecoder, CharsetDetector, EncodingNegotiator, decode_response
|
|
110
|
+
from .fingerprint_diff import FingerprintDiff, format_diff, similarity_score
|
|
111
|
+
from .cdp_solver import StealthBrowser, CdpSession, find_chrome, solve_challenge as cdp_solve
|
|
112
|
+
from .auto_bypass import AutoSession
|
|
113
|
+
from .site_recipes import SiteRecipe, get_recipe, apply_recipe, RECIPES
|
|
114
|
+
from .forms import Form, FormField, FormExtractor, fill_form, submit_form
|
|
115
|
+
from .graphql import GraphQLClient, GraphQLResponse, GraphQLError
|
|
116
|
+
from .smart_proxy import SmartProxyPool, ProxySiteStats
|
|
117
|
+
from .browser_pool import BrowserPool
|
|
118
|
+
from .record_replay import HttpRecorder, SessionReplayer, RecordedEntry, record_session
|
|
119
|
+
from .captcha_farm import CaptchaFarm, SolveResult
|
|
120
|
+
|
|
121
|
+
from .synth_fingerprint import SynthProfile, FingerprintSynthesizer
|
|
122
|
+
from .waf_recon import WafInfo, recon_sync, recon, WAF_SIGNATURES
|
|
123
|
+
from .poison_detect import PoisonScore, PoisonDetector, poison_check
|
|
124
|
+
from .resp_diff import DiffReport, diff_json, diff_html_structure, compare_bodies
|
|
125
|
+
from .predictive_rate import PredictiveRateLimiter
|
|
126
|
+
from .smart_retry import FailureDiagnosis, RetryStrategy, SmartRetry
|
|
127
|
+
from .rhythm import HumanRhythm, weibull_delay
|
|
128
|
+
from .coherence import CoherentProfile, coherent_headers, check_coherence, country_to_locale, country_to_timezone, country_to_accept_language
|
|
129
|
+
from .cookie_intel import CookieClassification, CookieIntelligence
|
|
130
|
+
from .cover_traffic import SubResource, CoverTrafficGenerator
|
|
131
|
+
from .immortal import ImmortalSession
|
|
132
|
+
from .mesh import SessionMesh, MeshState
|
|
133
|
+
from .challenge_vm import ChallengeVM, ChallengeResult
|
|
134
|
+
from .proto_chameleon import ProtocolChameleon, NegotiationResult
|
|
135
|
+
from .self_audit import RequestAuditor, AuditReport, AuditFinding
|
|
136
|
+
from .entropy_mask import EntropyMask, PayloadNormalizer, EntropyProfile, shannon_entropy
|
|
137
|
+
from .honeypot_oracle import HoneypotOracle, TrapDetector, LinkClassifier, TrapScore
|
|
138
|
+
from .canvas_webgl_sim import CanvasSimulator, AudioContextSim, CanvasWebGLProfile, WebGLProfile, generate_profile as gen_fp_profile, random_profile as rand_fp_profile, available_gpus, available_platforms
|
|
139
|
+
from .session_dna import SessionDNA, FingerprintGenome, EvolutionEngine
|
|
140
|
+
from .adaptive_persona import AdaptivePersona, BehaviorGraph, BehaviorNode, BehaviorEdge
|
|
141
|
+
from .tls_clone import TLSCloneData, TLSSessionCloner, SessionTicketStore, PSKIdentity, merge_with_session, clone_from_url
|
|
142
|
+
from .traffic_morph import TrafficProfile, TrafficMorpher, PacketPadder, TimingDistribution, ConcurrencyBatcher, TrafficReport
|
|
143
|
+
from .dns_tunnel import DNSTunnel, DoHRelay, EDNSClientSubnet, DNSCache, DNSRecord, DNSResult
|
|
144
|
+
from .replay_attack import ReplayAttackDetector, RequestMutator, ReplayProtection, detect_replay_protection, mutate_request
|
|
145
|
+
from .browser_fsm import BrowserStateMachine, NavigationFSM, BrowserState, StateTransition
|
|
146
|
+
|
|
147
|
+
__version__ = "0.5.0"
|
|
148
|
+
|
|
149
|
+
__all__ = [
|
|
150
|
+
"Session", "Response", "ProxyPool", "CookieJar", "Cookie",
|
|
151
|
+
"RetryPolicy", "CircuitBreaker", "Jitter",
|
|
152
|
+
"HookRegistry", "PreparedRequest", "log_hook",
|
|
153
|
+
"Profile", "Rotator", "resolve_profile", "build_profile",
|
|
154
|
+
"detect_ban", "predict", "measure", "verify",
|
|
155
|
+
"available_backends", "get_backend", "NATIVE", "__version__",
|
|
156
|
+
"Cap", "CAPABILITIES", "CapabilityUnsupported", "Router",
|
|
157
|
+
"KINDS", "RefererChain", "fetch_site",
|
|
158
|
+
"ChallengeTracker", "CLEARANCE_COOKIES", "find_interstitial", "multipart",
|
|
159
|
+
"PageVisit", "VisitPlan", "plan_visit", "ResponseCache",
|
|
160
|
+
"ActivityClock", "TravelCheck", "check_travel", "DEFAULT_MAX_KMH",
|
|
161
|
+
"FlowStep", "dwell_times", "ProxyGeo", "COUNTRY_LANGUAGES", "language_for",
|
|
162
|
+
"VECTORS", "Layer", "Status", "audit", "lint",
|
|
163
|
+
"Vendor", "Solvability", "Challenge", "Solver", "identify",
|
|
164
|
+
"Identity", "IdentityStore",
|
|
165
|
+
"StealthHTTPError", "RequestsError", "ConnectionError", "Timeout",
|
|
166
|
+
"ProxyError", "TooManyRedirects", "HTTPStatusError",
|
|
167
|
+
"NoHealthyProxies", "Banned", "CircuitOpen", "UnknownProfile",
|
|
168
|
+
"JsEnvironment", "HintStore", "HstsStore",
|
|
169
|
+
"MouseTrack", "MouseEvent", "KeyboardTrack", "TouchTrack",
|
|
170
|
+
"ScrollTrack", "InteractionSequence",
|
|
171
|
+
"AkamaiSensor", "PerimeterXCollector", "DataDomeCollector", "ImpervaCollector",
|
|
172
|
+
"collectors", "BypassEngine", "BypassResult", "bypasses",
|
|
173
|
+
"PowSolution", "solve_sha256",
|
|
174
|
+
"AsyncSession", "WebSocket", "DoHResolver",
|
|
175
|
+
"export_har", "save_har", "load_har", "replay_har",
|
|
176
|
+
"HTMLDocument", "Element", "parse_chain", "connect_chain",
|
|
177
|
+
"TCPProfile", "ConnectionPoolPolicy", "apply_tcp_profile", "dns_prefetch_domains",
|
|
178
|
+
"SessionTicket", "SessionTicketCache", "RecordSplitPattern", "TLSCaptureProxy",
|
|
179
|
+
"ECHConfig", "ALPSConfig", "CertCompression", "shuffle_extensions", "get_pq_curve",
|
|
180
|
+
"PriorityTree", "FlowControlProfile", "ConditionalHeaders", "accept_for_type",
|
|
181
|
+
"EntropyScorer", "NavigatorCoherence", "validate_cross_layer",
|
|
182
|
+
"DeviceSpec", "pick_device",
|
|
183
|
+
"AmbientLoader", "DecoyTraffic", "TimingCoherence", "WarmupPipeline",
|
|
184
|
+
"PageLifecycle", "ScrollDepthModel", "HumanIdleModel",
|
|
185
|
+
"import_chrome", "import_firefox", "find_browser_profiles",
|
|
186
|
+
"AgeRotator", "GradientRotator", "SessionRecorder",
|
|
187
|
+
"Middleware", "MiddlewarePipeline", "RateLimitMiddleware",
|
|
188
|
+
"AdaptiveStrategy", "WAFDetector", "HoneypotDetector", "RateLimitPredictor", "StealthDiagnostic",
|
|
189
|
+
"JSSandbox", "Deobfuscator", "match_challenge", "CHALLENGE_TEMPLATES",
|
|
190
|
+
"ConcurrencyLimiter", "DomainThrottle", "CorsPreflight", "CacheRevalidator",
|
|
191
|
+
"StealthScore", "ProfileDiff", "quick_audit",
|
|
192
|
+
"AutoProfileSelector", "ProfileRotationPolicy",
|
|
193
|
+
"HeaderCanonicalizer", "PseudoHeaderOrder",
|
|
194
|
+
"CertAnalyzer", "ServerFingerprint", "MitmDetector",
|
|
195
|
+
"BodyIntelligence", "CookieClassifier", "PatternDetector",
|
|
196
|
+
"NetworkSimulator", "TrafficShaper", "BandwidthMonitor", "NETWORK_PROFILES",
|
|
197
|
+
"DnsLeakChecker", "CnameTracker", "CdnDetector", "DnsPrefetchPlanner",
|
|
198
|
+
"ProxyScorer", "ProxyBenchmark",
|
|
199
|
+
"RedirectTracker", "ChallengeRedirectDetector", "RedirectPattern",
|
|
200
|
+
"ErrorClassifier", "ErrorPattern", "FixSuggester",
|
|
201
|
+
"SharedRateLimiter", "IdentityRotationPolicy", "SessionPool", "CoordinationHub",
|
|
202
|
+
"HealthMonitor", "AlertManager", "HealthStatus", "SessionHealth",
|
|
203
|
+
"RequestGraph", "ResourceNode", "build_graph_from_html", "estimate_load_time",
|
|
204
|
+
"ContentDecoder", "CharsetDetector", "EncodingNegotiator", "decode_response",
|
|
205
|
+
"FingerprintDiff", "format_diff", "similarity_score",
|
|
206
|
+
"StealthBrowser", "CdpSession", "find_chrome", "cdp_solve",
|
|
207
|
+
"AutoSession",
|
|
208
|
+
"SiteRecipe", "get_recipe", "apply_recipe", "RECIPES",
|
|
209
|
+
"Form", "FormField", "FormExtractor", "fill_form", "submit_form",
|
|
210
|
+
"GraphQLClient", "GraphQLResponse", "GraphQLError",
|
|
211
|
+
"SmartProxyPool", "ProxySiteStats", "BrowserPool",
|
|
212
|
+
"HttpRecorder", "SessionReplayer", "RecordedEntry", "record_session",
|
|
213
|
+
"CaptchaFarm", "SolveResult",
|
|
214
|
+
"SynthProfile", "FingerprintSynthesizer",
|
|
215
|
+
"WafInfo", "recon_sync", "recon", "WAF_SIGNATURES",
|
|
216
|
+
"PoisonScore", "PoisonDetector", "poison_check",
|
|
217
|
+
"DiffReport", "diff_json", "diff_html_structure", "compare_bodies",
|
|
218
|
+
"PredictiveRateLimiter",
|
|
219
|
+
"FailureDiagnosis", "RetryStrategy", "SmartRetry",
|
|
220
|
+
"HumanRhythm", "weibull_delay",
|
|
221
|
+
"CoherentProfile", "coherent_headers", "check_coherence",
|
|
222
|
+
"country_to_locale", "country_to_timezone", "country_to_accept_language",
|
|
223
|
+
"CookieClassification", "CookieIntelligence",
|
|
224
|
+
"SubResource", "CoverTrafficGenerator",
|
|
225
|
+
"ImmortalSession", "SessionMesh", "MeshState",
|
|
226
|
+
"ChallengeVM", "ChallengeResult",
|
|
227
|
+
"ProtocolChameleon", "NegotiationResult",
|
|
228
|
+
"RequestAuditor", "AuditReport", "AuditFinding",
|
|
229
|
+
# v0.5.0: entropy masking
|
|
230
|
+
"EntropyMask", "PayloadNormalizer", "EntropyProfile", "shannon_entropy",
|
|
231
|
+
# v0.5.0: honeypot detection
|
|
232
|
+
"HoneypotOracle", "TrapDetector", "LinkClassifier", "TrapScore",
|
|
233
|
+
# v0.5.0: canvas/WebGL/audio fingerprint simulation
|
|
234
|
+
"CanvasSimulator", "AudioContextSim", "CanvasWebGLProfile", "WebGLProfile",
|
|
235
|
+
"gen_fp_profile", "rand_fp_profile", "available_gpus", "available_platforms",
|
|
236
|
+
# v0.5.0: genetic fingerprint evolution
|
|
237
|
+
"SessionDNA", "FingerprintGenome", "EvolutionEngine",
|
|
238
|
+
# v0.5.0: adaptive browsing persona
|
|
239
|
+
"AdaptivePersona", "BehaviorGraph", "BehaviorNode", "BehaviorEdge",
|
|
240
|
+
# v0.5.0: TLS session cloning
|
|
241
|
+
"TLSCloneData", "TLSSessionCloner", "SessionTicketStore", "PSKIdentity",
|
|
242
|
+
"merge_with_session", "clone_from_url",
|
|
243
|
+
# v0.5.0: traffic morphing
|
|
244
|
+
"TrafficProfile", "TrafficMorpher", "PacketPadder",
|
|
245
|
+
"TimingDistribution", "ConcurrencyBatcher", "TrafficReport",
|
|
246
|
+
# v0.5.0: DNS tunnel / DoH relay
|
|
247
|
+
"DNSTunnel", "DoHRelay", "EDNSClientSubnet", "DNSCache", "DNSRecord", "DNSResult",
|
|
248
|
+
# v0.5.0: replay attack detection/bypass
|
|
249
|
+
"ReplayAttackDetector", "RequestMutator", "ReplayProtection",
|
|
250
|
+
"detect_replay_protection", "mutate_request",
|
|
251
|
+
# v0.5.0: browser state machine
|
|
252
|
+
"BrowserStateMachine", "NavigationFSM", "BrowserState", "StateTransition",
|
|
253
|
+
# module-level verbs
|
|
254
|
+
"request", "get", "post", "put", "patch", "delete", "head", "options",
|
|
255
|
+
]
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
def request(method: str, url: str, *, browser: str = "chrome136", **kw: Any) -> Response:
|
|
259
|
+
"""One-shot request. Prefer a :class:`Session` for anything repeated —
|
|
260
|
+
it reuses connections and keeps cookies."""
|
|
261
|
+
session_keys = (
|
|
262
|
+
"proxy", "proxy_pool", "rotate", "platform", "backend", "verify",
|
|
263
|
+
"http2", "delay", "retries", "circuit_breaker", "isolate_cookies",
|
|
264
|
+
"accept_language", "base_url", "detect_bans", "max_redirects",
|
|
265
|
+
)
|
|
266
|
+
skw = {k: kw.pop(k) for k in list(kw) if k in session_keys}
|
|
267
|
+
with Session(browser=browser, **skw) as s:
|
|
268
|
+
return s.request(method, url, **kw)
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
def get(url: str, **kw: Any) -> Response:
|
|
272
|
+
return request("GET", url, **kw)
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
def post(url: str, **kw: Any) -> Response:
|
|
276
|
+
return request("POST", url, **kw)
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
def put(url: str, **kw: Any) -> Response:
|
|
280
|
+
return request("PUT", url, **kw)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
def patch(url: str, **kw: Any) -> Response:
|
|
284
|
+
return request("PATCH", url, **kw)
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
def delete(url: str, **kw: Any) -> Response:
|
|
288
|
+
return request("DELETE", url, **kw)
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
def head(url: str, **kw: Any) -> Response:
|
|
292
|
+
return request("HEAD", url, **kw)
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
def options(url: str, **kw: Any) -> Response:
|
|
296
|
+
return request("OPTIONS", url, **kw)
|