foghttp 0.4.1__tar.gz → 0.4.2__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.
- foghttp-0.4.2/.github/workflows/ci.yml +101 -0
- foghttp-0.4.2/.github/workflows/full_checks.yml +235 -0
- foghttp-0.4.2/.github/workflows/release.yml +620 -0
- foghttp-0.4.2/.pre-commit-config.yaml +74 -0
- foghttp-0.4.2/CONTRIBUTING.md +104 -0
- foghttp-0.4.2/Cargo.lock +1045 -0
- foghttp-0.4.2/Cargo.toml +83 -0
- foghttp-0.4.2/PKG-INFO +132 -0
- foghttp-0.4.2/README.md +78 -0
- foghttp-0.4.2/SECURITY.md +130 -0
- foghttp-0.4.2/docs/auth.md +82 -0
- foghttp-0.4.2/docs/benchmarks.md +64 -0
- foghttp-0.4.2/docs/cookies.md +87 -0
- foghttp-0.4.2/docs/httpx-migration.md +179 -0
- foghttp-0.4.2/docs/index.md +62 -0
- foghttp-0.4.2/docs/lifecycle.md +183 -0
- foghttp-0.4.2/docs/limitations.md +79 -0
- foghttp-0.4.2/docs/packaging.md +147 -0
- foghttp-0.4.2/docs/policy-hooks.md +59 -0
- foghttp-0.4.2/docs/prometheus.md +114 -0
- foghttp-0.4.2/docs/proxies.md +130 -0
- foghttp-0.4.2/docs/pyo3-boundary.md +132 -0
- foghttp-0.4.2/docs/quickstart.md +110 -0
- foghttp-0.4.2/docs/redirects.md +83 -0
- foghttp-0.4.2/docs/request-builder.md +176 -0
- foghttp-0.4.2/docs/retries.md +161 -0
- foghttp-0.4.2/docs/ssrf.md +69 -0
- foghttp-0.4.2/docs/streaming-boundary-controls.csv +169 -0
- foghttp-0.4.2/docs/streaming-boundary-conversion.csv +37 -0
- foghttp-0.4.2/docs/streaming-boundary-measurements.md +219 -0
- foghttp-0.4.2/docs/streaming.md +122 -0
- foghttp-0.4.2/docs/telemetry.md +269 -0
- foghttp-0.4.2/docs/timeouts.md +164 -0
- foghttp-0.4.2/docs/tls.md +58 -0
- foghttp-0.4.2/docs/typing.md +60 -0
- foghttp-0.4.2/docs/upload-types.md +100 -0
- foghttp-0.4.2/docs/use-cases.md +90 -0
- foghttp-0.4.2/examples/README.md +50 -0
- foghttp-0.4.2/examples/opentelemetry_tracing.py +43 -0
- foghttp-0.4.2/foghttp/__init__.py +150 -0
- foghttp-0.4.2/foghttp/_client/config.py +112 -0
- foghttp-0.4.2/foghttp/_client/core.py +307 -0
- foghttp-0.4.2/foghttp/_client/options.py +60 -0
- foghttp-0.4.2/foghttp/_client/proxy_diagnostics_mapping.py +44 -0
- foghttp-0.4.2/foghttp/_client/raw/errors.py +82 -0
- foghttp-0.4.2/foghttp/_client/raw/lifecycle.py +119 -0
- foghttp-0.4.2/foghttp/_client/raw/requests.py +199 -0
- foghttp-0.4.2/foghttp/_client/request_builder/builder.py +61 -0
- foghttp-0.4.2/foghttp/_client/request_builder/models.py +24 -0
- foghttp-0.4.2/foghttp/_client/response.py +120 -0
- foghttp-0.4.2/foghttp/_client/stats.py +48 -0
- foghttp-0.4.2/foghttp/_client/stream_context.py +62 -0
- foghttp-0.4.2/foghttp/_client/telemetry/dispatcher.py +285 -0
- foghttp-0.4.2/foghttp/_client/telemetry/emission.py +93 -0
- foghttp-0.4.2/foghttp/_client/telemetry/hook_errors.py +67 -0
- foghttp-0.4.2/foghttp/_client/telemetry/native.py +156 -0
- foghttp-0.4.2/foghttp/_client/telemetry/request_context.py +134 -0
- foghttp-0.4.2/foghttp/_client/tracing.py +42 -0
- foghttp-0.4.2/foghttp/_client/transport.py +162 -0
- foghttp-0.4.2/foghttp/_client/transport_requests.py +45 -0
- foghttp-0.4.2/foghttp/_client/transport_snapshot_mapping.py +87 -0
- foghttp-0.4.2/foghttp/_foghttp.pyi +593 -0
- foghttp-0.4.2/foghttp/_multipart/cleanup.py +104 -0
- foghttp-0.4.2/foghttp/_multipart/factory.py +69 -0
- foghttp-0.4.2/foghttp/_multipart/iterators.py +71 -0
- foghttp-0.4.2/foghttp/_multipart/models.py +43 -0
- foghttp-0.4.2/foghttp/_multipart/stream.py +151 -0
- foghttp-0.4.2/foghttp/_multipart/sync_runner.py +109 -0
- foghttp-0.4.2/foghttp/_response/encoding.py +61 -0
- foghttp-0.4.2/foghttp/_streaming/text/async_chunks.py +27 -0
- foghttp-0.4.2/foghttp/_streaming/text/iterators.py +44 -0
- foghttp-0.4.2/foghttp/_streaming/text/lines.py +117 -0
- foghttp-0.4.2/foghttp/_streaming/text/sync_chunks.py +27 -0
- foghttp-0.4.2/foghttp/_upload_body/async_sending.py +113 -0
- foghttp-0.4.2/foghttp/_upload_body/attempt.py +68 -0
- foghttp-0.4.2/foghttp/_upload_body/cleanup.py +165 -0
- foghttp-0.4.2/foghttp/_upload_body/cleanup_callbacks.py +84 -0
- foghttp-0.4.2/foghttp/_upload_body/cleanup_execution.py +252 -0
- foghttp-0.4.2/foghttp/_upload_body/cleanup_group.py +43 -0
- foghttp-0.4.2/foghttp/_upload_body/cleanup_iteration.py +101 -0
- foghttp-0.4.2/foghttp/_upload_body/cleanup_owner.py +203 -0
- foghttp-0.4.2/foghttp/_upload_body/cleanup_start.py +99 -0
- foghttp-0.4.2/foghttp/_upload_body/cleanup_waiters.py +61 -0
- foghttp-0.4.2/foghttp/_upload_body/feeders.py +262 -0
- foghttp-0.4.2/foghttp/_upload_body/file_source.py +52 -0
- foghttp-0.4.2/foghttp/_upload_body/models.py +60 -0
- foghttp-0.4.2/foghttp/_upload_body/runtime.py +445 -0
- foghttp-0.4.2/foghttp/_upload_body/thread_bridge.py +196 -0
- foghttp-0.4.2/foghttp/_validation/boolean.py +7 -0
- foghttp-0.4.2/foghttp/_validation/numeric.py +57 -0
- foghttp-0.4.2/foghttp/async_client.py +607 -0
- foghttp-0.4.2/foghttp/client.py +585 -0
- foghttp-0.4.2/foghttp/errors/__init__.py +36 -0
- foghttp-0.4.2/foghttp/errors/response.py +46 -0
- foghttp-0.4.2/foghttp/limits.py +96 -0
- foghttp-0.4.2/foghttp/opentelemetry/__init__.py +5 -0
- foghttp-0.4.2/foghttp/opentelemetry/attributes.py +44 -0
- foghttp-0.4.2/foghttp/opentelemetry/configuration.py +29 -0
- foghttp-0.4.2/foghttp/opentelemetry/integration.py +76 -0
- foghttp-0.4.2/foghttp/opentelemetry/span.py +67 -0
- foghttp-0.4.2/foghttp/prometheus/labels.py +158 -0
- foghttp-0.4.2/foghttp/proxy_diagnostics.py +25 -0
- foghttp-0.4.2/foghttp/request.py +87 -0
- foghttp-0.4.2/foghttp/stream_response/async_response.py +128 -0
- foghttp-0.4.2/foghttp/stream_response/base.py +134 -0
- foghttp-0.4.2/foghttp/stream_response/sync_response.py +109 -0
- foghttp-0.4.2/foghttp/stream_response/telemetry.py +94 -0
- foghttp-0.4.2/foghttp/transport_state.py +74 -0
- foghttp-0.4.2/foghttp/transport_stats.py +47 -0
- foghttp-0.4.2/pyproject.toml +96 -0
- foghttp-0.4.2/scripts/check_release_candidate.py +77 -0
- foghttp-0.4.2/scripts/check_release_wheels.py +72 -0
- foghttp-0.4.2/scripts/check_sdist.py +161 -0
- foghttp-0.4.2/scripts/install_wheel_smoke.py +90 -0
- foghttp-0.4.2/scripts/measure_streaming_boundary.py +203 -0
- foghttp-0.4.2/scripts/wheel_smoke_runtime.py +168 -0
- foghttp-0.4.2/src/core/client/body/tests.rs +247 -0
- foghttp-0.4.2/src/core/client/body/upload_budget.rs +261 -0
- foghttp-0.4.2/src/core/client/body/upload_budget_tests.rs +323 -0
- foghttp-0.4.2/src/core/client/body.rs +819 -0
- foghttp-0.4.2/src/core/client/mod.rs +148 -0
- foghttp-0.4.2/src/core/client/proxy/endpoint.rs +35 -0
- foghttp-0.4.2/src/core/client/proxy/http.rs +140 -0
- foghttp-0.4.2/src/core/client/proxy/mod.rs +11 -0
- foghttp-0.4.2/src/core/client/proxy/tests.rs +432 -0
- foghttp-0.4.2/src/core/client/proxy/tunnel.rs +398 -0
- foghttp-0.4.2/src/core/client/ssrf/tests.rs +143 -0
- foghttp-0.4.2/src/core/client/ssrf.rs +140 -0
- foghttp-0.4.2/src/core/client/telemetry/mod.rs +1018 -0
- foghttp-0.4.2/src/core/client/telemetry/tests.rs +1338 -0
- foghttp-0.4.2/src/core/client/write_timeout/tests.rs +32 -0
- foghttp-0.4.2/src/core/client/write_timeout.rs +123 -0
- foghttp-0.4.2/src/core/headers/request.rs +16 -0
- foghttp-0.4.2/src/core/headers/tests.rs +67 -0
- foghttp-0.4.2/src/core/metrics/counters.rs +209 -0
- foghttp-0.4.2/src/core/metrics/mod.rs +70 -0
- foghttp-0.4.2/src/core/metrics/proxy.rs +295 -0
- foghttp-0.4.2/src/core/metrics/snapshots.rs +241 -0
- foghttp-0.4.2/src/core/metrics/streaming.rs +41 -0
- foghttp-0.4.2/src/core/metrics/tests.rs +462 -0
- foghttp-0.4.2/src/core/policy/cookies/tests.rs +616 -0
- foghttp-0.4.2/src/core/policy/cookies.rs +447 -0
- foghttp-0.4.2/src/core/policy/ssrf/tests.rs +237 -0
- foghttp-0.4.2/src/core/policy/ssrf.rs +510 -0
- foghttp-0.4.2/src/core/request/tests.rs +65 -0
- foghttp-0.4.2/src/core/request.rs +51 -0
- foghttp-0.4.2/src/core/response/body/tests.rs +99 -0
- foghttp-0.4.2/src/core/response/body.rs +86 -0
- foghttp-0.4.2/src/core/response/budget/tests.rs +96 -0
- foghttp-0.4.2/src/core/response/budget.rs +86 -0
- foghttp-0.4.2/src/core/response/codec/gzip.rs +108 -0
- foghttp-0.4.2/src/core/response/codec.rs +164 -0
- foghttp-0.4.2/src/core/response/decompression/tests.rs +600 -0
- foghttp-0.4.2/src/core/response/decompression.rs +325 -0
- foghttp-0.4.2/src/core/response/error.rs +58 -0
- foghttp-0.4.2/src/core/response/mod.rs +17 -0
- foghttp-0.4.2/src/core/response/streaming/allocation_tests.rs +487 -0
- foghttp-0.4.2/src/core/response/streaming/error.rs +74 -0
- foghttp-0.4.2/src/core/response/streaming/fixtures/gzip_starvation.gz +0 -0
- foghttp-0.4.2/src/core/response/streaming/mod.rs +351 -0
- foghttp-0.4.2/src/core/response/streaming/tests.rs +752 -0
- foghttp-0.4.2/src/core/telemetry/tests.rs +382 -0
- foghttp-0.4.2/src/core/telemetry.rs +922 -0
- foghttp-0.4.2/src/core/tls/tests.rs +31 -0
- foghttp-0.4.2/src/core/url/constants.rs +10 -0
- foghttp-0.4.2/src/core/url/mod.rs +94 -0
- foghttp-0.4.2/src/core/url/origin.rs +16 -0
- foghttp-0.4.2/src/core/url/scheme.rs +5 -0
- foghttp-0.4.2/src/core/url/tests.rs +82 -0
- foghttp-0.4.2/src/errors.rs +83 -0
- foghttp-0.4.2/src/lib.rs +17 -0
- foghttp-0.4.2/src/py/client/async_requests/mod.rs +13 -0
- foghttp-0.4.2/src/py/client/async_requests/stream_spawn.rs +126 -0
- foghttp-0.4.2/src/py/client/async_requests/test_support.rs +38 -0
- foghttp-0.4.2/src/py/client/future.rs +222 -0
- foghttp-0.4.2/src/py/client/mod.rs +895 -0
- foghttp-0.4.2/src/py/client/options/tests.rs +70 -0
- foghttp-0.4.2/src/py/client/options.rs +119 -0
- foghttp-0.4.2/src/py/client/runtime/mod.rs +123 -0
- foghttp-0.4.2/src/py/client/runtime/shared.rs +66 -0
- foghttp-0.4.2/src/py/client/runtime/tests.rs +170 -0
- foghttp-0.4.2/src/py/client/streams/budget.rs +33 -0
- foghttp-0.4.2/src/py/client/streams/coalescing/tests.rs +160 -0
- foghttp-0.4.2/src/py/client/streams/coalescing.rs +81 -0
- foghttp-0.4.2/src/py/client/streams/mod.rs +15 -0
- foghttp-0.4.2/src/py/client/streams/parts.rs +39 -0
- foghttp-0.4.2/src/py/client/streams/response.rs +288 -0
- foghttp-0.4.2/src/py/client/streams/response_tests.rs +176 -0
- foghttp-0.4.2/src/py/client/streams/state/decoded/tests.rs +184 -0
- foghttp-0.4.2/src/py/client/streams/state/decoded.rs +165 -0
- foghttp-0.4.2/src/py/client/streams/state.rs +509 -0
- foghttp-0.4.2/src/py/client/streams/state_tests.rs +200 -0
- foghttp-0.4.2/src/py/client/transport/body.rs +105 -0
- foghttp-0.4.2/src/py/client/transport/buffered.rs +166 -0
- foghttp-0.4.2/src/py/client/transport/context.rs +38 -0
- foghttp-0.4.2/src/py/client/transport/decoding/admission_tests.rs +194 -0
- foghttp-0.4.2/src/py/client/transport/decoding/compatibility_tests.rs +90 -0
- foghttp-0.4.2/src/py/client/transport/decoding/expired_tests.rs +84 -0
- foghttp-0.4.2/src/py/client/transport/decoding/native_cases.rs +168 -0
- foghttp-0.4.2/src/py/client/transport/decoding/native_test_support.rs +299 -0
- foghttp-0.4.2/src/py/client/transport/decoding/registry_tests.rs +215 -0
- foghttp-0.4.2/src/py/client/transport/decoding/test_control.rs +117 -0
- foghttp-0.4.2/src/py/client/transport/decoding/test_fixtures.rs +97 -0
- foghttp-0.4.2/src/py/client/transport/decoding/tests.rs +190 -0
- foghttp-0.4.2/src/py/client/transport/decoding.rs +86 -0
- foghttp-0.4.2/src/py/client/transport/errors.rs +135 -0
- foghttp-0.4.2/src/py/client/transport/mod.rs +18 -0
- foghttp-0.4.2/src/py/client/transport/request/early_response_pool_tests.rs +307 -0
- foghttp-0.4.2/src/py/client/transport/request/response_header_timeout_tests.rs +63 -0
- foghttp-0.4.2/src/py/client/transport/request.rs +1041 -0
- foghttp-0.4.2/src/py/client/transport/response.rs +263 -0
- foghttp-0.4.2/src/py/client/transport/streaming.rs +202 -0
- foghttp-0.4.2/src/py/client/transport/tests.rs +273 -0
- foghttp-0.4.2/src/py/client/upload_body/budget_lifecycle_tests.rs +316 -0
- foghttp-0.4.2/src/py/client/upload_body/startup/tests.rs +123 -0
- foghttp-0.4.2/src/py/client/upload_body/startup.rs +92 -0
- foghttp-0.4.2/src/py/client/upload_body/tests.rs +92 -0
- foghttp-0.4.2/src/py/client/upload_body.rs +337 -0
- foghttp-0.4.2/src/py/mod.rs +41 -0
- foghttp-0.4.2/src/py/proxy_diagnostics.rs +77 -0
- foghttp-0.4.2/src/py/retry/tests.rs +125 -0
- foghttp-0.4.2/src/py/retry.rs +217 -0
- foghttp-0.4.2/src/py/stats.rs +228 -0
- foghttp-0.4.2/src/py/telemetry/tests.rs +31 -0
- foghttp-0.4.2/src/py/telemetry.rs +54 -0
- foghttp-0.4.2/src/py/transport_state.rs +119 -0
- foghttp-0.4.2/tests/accept_encoding/conftest.py +5 -0
- foghttp-0.4.2/tests/accept_encoding/negotiation_cases.py +36 -0
- foghttp-0.4.2/tests/accept_encoding/test_async_negotiation.py +488 -0
- foghttp-0.4.2/tests/accept_encoding/test_config.py +80 -0
- foghttp-0.4.2/tests/accept_encoding/test_projection.py +47 -0
- foghttp-0.4.2/tests/accept_encoding/test_sync_negotiation.py +477 -0
- foghttp-0.4.2/tests/client_cancellation/conftest.py +64 -0
- foghttp-0.4.2/tests/client_cancellation/test_async_lifecycle_debug_buffered.py +171 -0
- foghttp-0.4.2/tests/client_keepalive/conftest.py +24 -0
- foghttp-0.4.2/tests/client_keepalive/server.py +376 -0
- foghttp-0.4.2/tests/client_keepalive/test_async_keepalive.py +462 -0
- foghttp-0.4.2/tests/client_keepalive/test_sync_keepalive.py +434 -0
- foghttp-0.4.2/tests/client_lifecycle/conftest.py +189 -0
- foghttp-0.4.2/tests/client_lifecycle/helpers.py +109 -0
- foghttp-0.4.2/tests/client_lifecycle/reentrant_close_helpers.py +143 -0
- foghttp-0.4.2/tests/client_lifecycle/reentrant_close_probe.py +102 -0
- foghttp-0.4.2/tests/client_lifecycle/test_async_client_lifecycle.py +302 -0
- foghttp-0.4.2/tests/client_lifecycle/test_client_construction.py +68 -0
- foghttp-0.4.2/tests/client_lifecycle/test_fork_safety.py +239 -0
- foghttp-0.4.2/tests/client_lifecycle/test_sync_client_lifecycle.py +317 -0
- foghttp-0.4.2/tests/client_lifecycle/test_sync_reentrant_close.py +163 -0
- foghttp-0.4.2/tests/client_multipart/sources.py +249 -0
- foghttp-0.4.2/tests/client_multipart/test_async_multipart.py +496 -0
- foghttp-0.4.2/tests/client_multipart/test_cleanup_admission.py +157 -0
- foghttp-0.4.2/tests/client_multipart/test_multipart_internals.py +1213 -0
- foghttp-0.4.2/tests/client_multipart/test_request_builder.py +326 -0
- foghttp-0.4.2/tests/client_multipart/test_sync_multipart.py +449 -0
- foghttp-0.4.2/tests/client_options/test_numeric_validation.py +170 -0
- foghttp-0.4.2/tests/client_options/test_raw_numeric_boundary.py +325 -0
- foghttp-0.4.2/tests/client_options/test_raw_upload_budget_boundary.py +201 -0
- foghttp-0.4.2/tests/client_options/test_upload_buffer_limits.py +47 -0
- foghttp-0.4.2/tests/client_proxy/connect_proxy_server.py +257 -0
- foghttp-0.4.2/tests/client_proxy/http_proxy_server.py +281 -0
- foghttp-0.4.2/tests/client_proxy/test_http_proxy_transport.py +575 -0
- foghttp-0.4.2/tests/client_proxy/test_https_proxy_connect.py +739 -0
- foghttp-0.4.2/tests/client_resources/conftest.py +183 -0
- foghttp-0.4.2/tests/client_resources/constants.py +42 -0
- foghttp-0.4.2/tests/client_resources/gates.py +44 -0
- foghttp-0.4.2/tests/client_resources/test_async_connection_limits.py +194 -0
- foghttp-0.4.2/tests/client_resources/test_async_origin_limits.py +169 -0
- foghttp-0.4.2/tests/client_resources/test_async_pool_diagnostics.py +88 -0
- foghttp-0.4.2/tests/client_resources/test_async_response_gate.py +69 -0
- foghttp-0.4.2/tests/client_resources/test_async_transport_state.py +65 -0
- foghttp-0.4.2/tests/client_resources/test_diagnostic_snapshot_contract.py +173 -0
- foghttp-0.4.2/tests/client_resources/test_sync_connection_limits.py +237 -0
- foghttp-0.4.2/tests/client_resources/test_sync_origin_limits.py +162 -0
- foghttp-0.4.2/tests/client_resources/test_sync_pool_diagnostics.py +122 -0
- foghttp-0.4.2/tests/client_resources/test_sync_response_gate.py +38 -0
- foghttp-0.4.2/tests/client_resources/test_sync_transport_state.py +61 -0
- foghttp-0.4.2/tests/client_retry/conftest.py +77 -0
- foghttp-0.4.2/tests/client_retry/constants.py +28 -0
- foghttp-0.4.2/tests/client_retry/early_upload_assertions.py +132 -0
- foghttp-0.4.2/tests/client_retry/models.py +24 -0
- foghttp-0.4.2/tests/client_retry/server.py +418 -0
- foghttp-0.4.2/tests/client_retry/sources.py +181 -0
- foghttp-0.4.2/tests/client_retry/test_async_retry.py +208 -0
- foghttp-0.4.2/tests/client_retry/test_attempt_trace.py +666 -0
- foghttp-0.4.2/tests/client_retry/test_early_upload_retry.py +213 -0
- foghttp-0.4.2/tests/client_retry/test_sync_retry.py +538 -0
- foghttp-0.4.2/tests/client_streaming/conftest.py +78 -0
- foghttp-0.4.2/tests/client_streaming/constants.py +53 -0
- foghttp-0.4.2/tests/client_streaming/server.py +355 -0
- foghttp-0.4.2/tests/client_streaming/streaming_history_assertions.py +83 -0
- foghttp-0.4.2/tests/client_streaming/streaming_history_conversion.py +74 -0
- foghttp-0.4.2/tests/client_streaming/streaming_history_sources.py +86 -0
- foghttp-0.4.2/tests/client_streaming/test_async_streaming.py +282 -0
- foghttp-0.4.2/tests/client_streaming/test_async_streaming_codecs.py +93 -0
- foghttp-0.4.2/tests/client_streaming/test_streaming_redirect_history_handoff.py +258 -0
- foghttp-0.4.2/tests/client_streaming/test_streaming_text_cleanup.py +273 -0
- foghttp-0.4.2/tests/client_streaming/test_streaming_text_decoding.py +145 -0
- foghttp-0.4.2/tests/client_streaming/test_sync_streaming.py +284 -0
- foghttp-0.4.2/tests/client_streaming/test_sync_streaming_codecs.py +93 -0
- foghttp-0.4.2/tests/client_streaming/test_text_codec_contract.py +84 -0
- foghttp-0.4.2/tests/client_streaming/text_codec_cases.py +5 -0
- foghttp-0.4.2/tests/client_streaming/text_decoding_sources.py +75 -0
- foghttp-0.4.2/tests/client_telemetry/native_warning_sources.py +133 -0
- foghttp-0.4.2/tests/client_telemetry/test_native_deferred_warnings.py +181 -0
- foghttp-0.4.2/tests/client_timeouts/conftest.py +260 -0
- foghttp-0.4.2/tests/client_timeouts/test_async_timeouts.py +361 -0
- foghttp-0.4.2/tests/client_timeouts/test_sync_timeouts.py +316 -0
- foghttp-0.4.2/tests/client_tls/handshake_server.py +89 -0
- foghttp-0.4.2/tests/client_tls/models.py +28 -0
- foghttp-0.4.2/tests/client_tls/server.py +94 -0
- foghttp-0.4.2/tests/client_tls/test_server_shutdown.py +48 -0
- foghttp-0.4.2/tests/client_transport/models.py +182 -0
- foghttp-0.4.2/tests/client_transport/stream_response_conversion_models.py +174 -0
- foghttp-0.4.2/tests/client_transport/test_stream_response_conversion.py +133 -0
- foghttp-0.4.2/tests/client_transport/test_transport_adapter.py +353 -0
- foghttp-0.4.2/tests/client_upload/conftest.py +58 -0
- foghttp-0.4.2/tests/client_upload/file_length_allocation_probe.py +44 -0
- foghttp-0.4.2/tests/client_upload/file_length_sources.py +89 -0
- foghttp-0.4.2/tests/client_upload/helpers.py +220 -0
- foghttp-0.4.2/tests/client_upload/raw_callback_probe.py +223 -0
- foghttp-0.4.2/tests/client_upload/test_async_upload_segmentation.py +91 -0
- foghttp-0.4.2/tests/client_upload/test_async_wrapper_upload_length.py +49 -0
- foghttp-0.4.2/tests/client_upload/test_cleanup_admission.py +274 -0
- foghttp-0.4.2/tests/client_upload/test_file_content_length.py +169 -0
- foghttp-0.4.2/tests/client_upload/test_file_length_allocations.py +26 -0
- foghttp-0.4.2/tests/client_upload/test_raw_upload_byte_retention.py +27 -0
- foghttp-0.4.2/tests/client_upload/test_raw_upload_callback_admission.py +56 -0
- foghttp-0.4.2/tests/client_upload/test_raw_upload_terminal_close.py +56 -0
- foghttp-0.4.2/tests/client_upload/test_streaming_upload.py +985 -0
- foghttp-0.4.2/tests/client_upload/test_sync_upload_segmentation.py +90 -0
- foghttp-0.4.2/tests/client_upload/test_sync_wrapper_upload_length.py +47 -0
- foghttp-0.4.2/tests/client_upload/test_upload_helpers.py +3190 -0
- foghttp-0.4.2/tests/client_upload/test_upload_send_progress.py +49 -0
- foghttp-0.4.2/tests/client_upload/upload_segmentation_cases.py +105 -0
- foghttp-0.4.2/tests/client_upload/wrapper_length_cases.py +124 -0
- foghttp-0.4.2/tests/conftest.py +18 -0
- foghttp-0.4.2/tests/fault_injection/server.py +120 -0
- foghttp-0.4.2/tests/network_errors/conftest.py +78 -0
- foghttp-0.4.2/tests/opentelemetry/__init__.py +14 -0
- foghttp-0.4.2/tests/opentelemetry/actions.py +26 -0
- foghttp-0.4.2/tests/opentelemetry/conftest.py +62 -0
- foghttp-0.4.2/tests/opentelemetry/faults.py +77 -0
- foghttp-0.4.2/tests/opentelemetry/test_configuration.py +142 -0
- foghttp-0.4.2/tests/opentelemetry/test_context.py +283 -0
- foghttp-0.4.2/tests/opentelemetry/test_failures.py +448 -0
- foghttp-0.4.2/tests/opentelemetry/test_optional_dependency.py +163 -0
- foghttp-0.4.2/tests/opentelemetry/test_requests.py +530 -0
- foghttp-0.4.2/tests/opentelemetry/test_sampling.py +172 -0
- foghttp-0.4.2/tests/opentelemetry/test_wire.py +372 -0
- foghttp-0.4.2/tests/prometheus/test_telemetry_sink.py +864 -0
- foghttp-0.4.2/tests/pyo3_boundary/async_future_server.py +68 -0
- foghttp-0.4.2/tests/pyo3_boundary/test_raw_client_signatures.py +102 -0
- foghttp-0.4.2/tests/release_validation/candidate_actions.py +16 -0
- foghttp-0.4.2/tests/release_validation/conftest.py +39 -0
- foghttp-0.4.2/tests/release_validation/constants.py +19 -0
- foghttp-0.4.2/tests/release_validation/test_candidate_identity.py +96 -0
- foghttp-0.4.2/tests/release_validation/test_release_version.py +45 -0
- foghttp-0.4.2/tests/release_validation/test_required_checks.py +115 -0
- foghttp-0.4.2/tests/release_validation/test_wheel_inventory.py +113 -0
- foghttp-0.4.2/tests/release_validation/test_workflow_gates.py +354 -0
- foghttp-0.4.2/tests/release_validation/workflow_assertions.py +32 -0
- foghttp-0.4.2/tests/request_builder/models.py +9 -0
- foghttp-0.4.2/tests/request_builder/test_body.py +297 -0
- foghttp-0.4.2/tests/response_decompression/__init__.py +0 -0
- foghttp-0.4.2/tests/response_decompression/integrity_cases.py +67 -0
- foghttp-0.4.2/tests/response_decompression/payloads.py +77 -0
- foghttp-0.4.2/tests/response_decompression/server.py +169 -0
- foghttp-0.4.2/tests/response_decompression/test_async_buffered_integrity.py +76 -0
- foghttp-0.4.2/tests/response_decompression/test_async_response_decompression.py +197 -0
- foghttp-0.4.2/tests/response_decompression/test_sync_buffered_integrity.py +80 -0
- foghttp-0.4.2/tests/response_decompression/test_sync_response_decompression.py +197 -0
- foghttp-0.4.2/tests/sdist_validation/__init__.py +0 -0
- foghttp-0.4.2/tests/sdist_validation/archives.py +48 -0
- foghttp-0.4.2/tests/sdist_validation/conftest.py +28 -0
- foghttp-0.4.2/tests/sdist_validation/processes.py +43 -0
- foghttp-0.4.2/tests/sdist_validation/test_cli.py +47 -0
- foghttp-0.4.2/tests/sdist_validation/test_native_origin.py +28 -0
- foghttp-0.4.2/tests/sdist_validation/test_validation.py +227 -0
- foghttp-0.4.2/tests/streaming_decompression/__init__.py +0 -0
- foghttp-0.4.2/tests/streaming_decompression/cases.py +69 -0
- foghttp-0.4.2/tests/streaming_decompression/conftest.py +19 -0
- foghttp-0.4.2/tests/streaming_decompression/constants.py +20 -0
- foghttp-0.4.2/tests/streaming_decompression/limit_cases.py +27 -0
- foghttp-0.4.2/tests/streaming_decompression/payloads.py +34 -0
- foghttp-0.4.2/tests/streaming_decompression/read_actions.py +63 -0
- foghttp-0.4.2/tests/streaming_decompression/server.py +110 -0
- foghttp-0.4.2/tests/streaming_decompression/test_async_content.py +81 -0
- foghttp-0.4.2/tests/streaming_decompression/test_async_drain_cancellation.py +49 -0
- foghttp-0.4.2/tests/streaming_decompression/test_async_headers.py +119 -0
- foghttp-0.4.2/tests/streaming_decompression/test_async_lifecycle.py +186 -0
- foghttp-0.4.2/tests/streaming_decompression/test_async_limits.py +100 -0
- foghttp-0.4.2/tests/streaming_decompression/test_async_telemetry.py +76 -0
- foghttp-0.4.2/tests/streaming_decompression/test_async_text_cleanup.py +358 -0
- foghttp-0.4.2/tests/streaming_decompression/test_pending_failure.py +103 -0
- foghttp-0.4.2/tests/streaming_decompression/test_sync_content.py +81 -0
- foghttp-0.4.2/tests/streaming_decompression/test_sync_headers.py +116 -0
- foghttp-0.4.2/tests/streaming_decompression/test_sync_lifecycle.py +151 -0
- foghttp-0.4.2/tests/streaming_decompression/test_sync_limits.py +114 -0
- foghttp-0.4.2/tests/streaming_decompression/test_sync_telemetry.py +74 -0
- foghttp-0.4.2/tests/streaming_decompression/test_sync_text_cleanup.py +297 -0
- foghttp-0.4.2/tests/streaming_decompression/test_transport_composition.py +109 -0
- foghttp-0.4.2/tests/streaming_decompression/text_cleanup_cases.py +36 -0
- foghttp-0.4.2/tests/support/async_http_server.py +74 -0
- foghttp-0.4.2/tests/support/async_server.py +183 -0
- foghttp-0.4.2/tests/support/sync_http_server.py +323 -0
- foghttp-0.4.2/tests/support/sync_server.py +96 -0
- foghttp-0.4.2/tests/support/test_async_fixture_shutdown.py +318 -0
- foghttp-0.4.2/tests/support/test_async_server_errors.py +189 -0
- foghttp-0.4.2/tests/support/test_async_server_handoff.py +111 -0
- foghttp-0.4.2/tests/support/test_async_server_startup.py +57 -0
- foghttp-0.4.2/tests/support/test_sync_server.py +133 -0
- foghttp-0.4.2/tests/support/upload_requests.py +18 -0
- foghttp-0.4.2/tests/test_async_client.py +243 -0
- foghttp-0.4.2/tests/test_public_api.py +93 -0
- foghttp-0.4.2/tests/test_raw_client.py +530 -0
- foghttp-0.4.2/tests/test_raw_client_errors.py +521 -0
- foghttp-0.4.2/tests/test_response_encoding.py +171 -0
- foghttp-0.4.2/tests/test_response_json.py +55 -0
- foghttp-0.4.2/tests/test_sync_client.py +241 -0
- foghttp-0.4.2/tests/test_transport_stats.py +84 -0
- foghttp-0.4.2/tests/types/__init__.py +0 -0
- foghttp-0.4.2/tests/types/opentelemetry_api.py +26 -0
- foghttp-0.4.2/tests/types/test_request_response_protocols.py +98 -0
- foghttp-0.4.2/tests/types/test_upload_contracts.py +126 -0
- foghttp-0.4.2/tests/upload_cleanup/__init__.py +0 -0
- foghttp-0.4.2/tests/upload_cleanup/admission_actions.py +25 -0
- foghttp-0.4.2/tests/upload_cleanup/cleanup_actions.py +29 -0
- foghttp-0.4.2/tests/upload_cleanup/closed_loop_probe.py +76 -0
- foghttp-0.4.2/tests/upload_cleanup/conftest.py +43 -0
- foghttp-0.4.2/tests/upload_cleanup/constants.py +5 -0
- foghttp-0.4.2/tests/upload_cleanup/iterator_sources.py +65 -0
- foghttp-0.4.2/tests/upload_cleanup/lookup_sources.py +22 -0
- foghttp-0.4.2/tests/upload_cleanup/notification_actions.py +56 -0
- foghttp-0.4.2/tests/upload_cleanup/partial_start_actions.py +112 -0
- foghttp-0.4.2/tests/upload_cleanup/reconcile_race.py +76 -0
- foghttp-0.4.2/tests/upload_cleanup/sources.py +52 -0
- foghttp-0.4.2/tests/upload_cleanup/startup_cleanup.py +31 -0
- foghttp-0.4.2/tests/upload_cleanup/startup_sources.py +23 -0
- foghttp-0.4.2/tests/upload_cleanup/task_factories.py +18 -0
- foghttp-0.4.2/tests/upload_cleanup/test_admission_units.py +231 -0
- foghttp-0.4.2/tests/upload_cleanup/test_background_cancellation.py +62 -0
- foghttp-0.4.2/tests/upload_cleanup/test_client_churn.py +79 -0
- foghttp-0.4.2/tests/upload_cleanup/test_closed_loop_disposition.py +32 -0
- foghttp-0.4.2/tests/upload_cleanup/test_closed_loop_retention.py +37 -0
- foghttp-0.4.2/tests/upload_cleanup/test_daemon_partial_start.py +48 -0
- foghttp-0.4.2/tests/upload_cleanup/test_early_task_cancellation.py +35 -0
- foghttp-0.4.2/tests/upload_cleanup/test_factory_and_runtime_boundaries.py +106 -0
- foghttp-0.4.2/tests/upload_cleanup/test_feeder_independence.py +31 -0
- foghttp-0.4.2/tests/upload_cleanup/test_fork.py +96 -0
- foghttp-0.4.2/tests/upload_cleanup/test_late_owned_iterator.py +52 -0
- foghttp-0.4.2/tests/upload_cleanup/test_lookup_control_failure.py +118 -0
- foghttp-0.4.2/tests/upload_cleanup/test_mixed_multipart_runner.py +52 -0
- foghttp-0.4.2/tests/upload_cleanup/test_multipart_creation_boundaries.py +153 -0
- foghttp-0.4.2/tests/upload_cleanup/test_multipart_group.py +169 -0
- foghttp-0.4.2/tests/upload_cleanup/test_multipart_partial_runner_start.py +36 -0
- foghttp-0.4.2/tests/upload_cleanup/test_ordering.py +232 -0
- foghttp-0.4.2/tests/upload_cleanup/test_public_partial_feeder_start.py +101 -0
- foghttp-0.4.2/tests/upload_cleanup/test_reconcile_race.py +41 -0
- foghttp-0.4.2/tests/upload_cleanup/test_saturation.py +106 -0
- foghttp-0.4.2/tests/upload_cleanup/test_task_factory_interruption.py +144 -0
- foghttp-0.4.2/tests/upload_cleanup/test_waiter_interruption.py +93 -0
- foghttp-0.4.2/tests/upload_cleanup/test_waiter_notifications.py +59 -0
- foghttp-0.4.2/tests/upload_cleanup/test_worker_failure.py +38 -0
- foghttp-0.4.2/tests/upload_cleanup/test_worker_interruptions.py +172 -0
- foghttp-0.4.2/tests/upload_cleanup/test_worker_partial_start.py +103 -0
- foghttp-0.4.2/tests/upload_cleanup/worker_start_actions.py +47 -0
- foghttp-0.4.2/uv.lock +1044 -0
- foghttp-0.4.1/.github/workflows/ci.yml +0 -191
- foghttp-0.4.1/.github/workflows/release.yml +0 -311
- foghttp-0.4.1/.pre-commit-config.yaml +0 -73
- foghttp-0.4.1/CONTRIBUTING.md +0 -266
- foghttp-0.4.1/Cargo.lock +0 -1045
- foghttp-0.4.1/Cargo.toml +0 -83
- foghttp-0.4.1/PKG-INFO +0 -267
- foghttp-0.4.1/README.md +0 -220
- foghttp-0.4.1/SECURITY.md +0 -146
- foghttp-0.4.1/docs/auth.md +0 -128
- foghttp-0.4.1/docs/benchmarks.md +0 -379
- foghttp-0.4.1/docs/cookies.md +0 -112
- foghttp-0.4.1/docs/httpx-migration.md +0 -663
- foghttp-0.4.1/docs/index.md +0 -191
- foghttp-0.4.1/docs/lifecycle.md +0 -641
- foghttp-0.4.1/docs/limitations.md +0 -168
- foghttp-0.4.1/docs/packaging.md +0 -63
- foghttp-0.4.1/docs/policy-hooks.md +0 -110
- foghttp-0.4.1/docs/prometheus.md +0 -220
- foghttp-0.4.1/docs/proxies.md +0 -211
- foghttp-0.4.1/docs/pyo3-boundary.md +0 -131
- foghttp-0.4.1/docs/quickstart.md +0 -825
- foghttp-0.4.1/docs/redirects.md +0 -221
- foghttp-0.4.1/docs/request-builder.md +0 -363
- foghttp-0.4.1/docs/retries.md +0 -224
- foghttp-0.4.1/docs/ssrf.md +0 -132
- foghttp-0.4.1/docs/streaming.md +0 -180
- foghttp-0.4.1/docs/telemetry.md +0 -321
- foghttp-0.4.1/docs/timeouts.md +0 -451
- foghttp-0.4.1/docs/tls.md +0 -109
- foghttp-0.4.1/docs/typing.md +0 -80
- foghttp-0.4.1/docs/upload-types.md +0 -117
- foghttp-0.4.1/docs/use-cases.md +0 -314
- foghttp-0.4.1/examples/README.md +0 -97
- foghttp-0.4.1/foghttp/__init__.py +0 -145
- foghttp-0.4.1/foghttp/_client/config.py +0 -108
- foghttp-0.4.1/foghttp/_client/core.py +0 -278
- foghttp-0.4.1/foghttp/_client/options.py +0 -53
- foghttp-0.4.1/foghttp/_client/raw/errors.py +0 -76
- foghttp-0.4.1/foghttp/_client/raw/lifecycle.py +0 -115
- foghttp-0.4.1/foghttp/_client/raw/requests.py +0 -181
- foghttp-0.4.1/foghttp/_client/request_builder/builder.py +0 -60
- foghttp-0.4.1/foghttp/_client/request_builder/models.py +0 -23
- foghttp-0.4.1/foghttp/_client/response.py +0 -106
- foghttp-0.4.1/foghttp/_client/stats.py +0 -47
- foghttp-0.4.1/foghttp/_client/stream_context.py +0 -56
- foghttp-0.4.1/foghttp/_client/telemetry/dispatcher.py +0 -271
- foghttp-0.4.1/foghttp/_client/telemetry/emission.py +0 -92
- foghttp-0.4.1/foghttp/_client/telemetry/hook_errors.py +0 -44
- foghttp-0.4.1/foghttp/_client/telemetry/native.py +0 -147
- foghttp-0.4.1/foghttp/_client/telemetry/request_context.py +0 -133
- foghttp-0.4.1/foghttp/_client/transport.py +0 -108
- foghttp-0.4.1/foghttp/_client/transport_requests.py +0 -30
- foghttp-0.4.1/foghttp/_client/transport_snapshot_mapping.py +0 -86
- foghttp-0.4.1/foghttp/_foghttp.pyi +0 -539
- foghttp-0.4.1/foghttp/_multipart/cleanup.py +0 -45
- foghttp-0.4.1/foghttp/_multipart/iterators.py +0 -111
- foghttp-0.4.1/foghttp/_multipart/models.py +0 -43
- foghttp-0.4.1/foghttp/_multipart/stream.py +0 -163
- foghttp-0.4.1/foghttp/_multipart/sync_runner.py +0 -88
- foghttp-0.4.1/foghttp/_response/encoding.py +0 -54
- foghttp-0.4.1/foghttp/_streaming/text/async_chunks.py +0 -26
- foghttp-0.4.1/foghttp/_streaming/text/iterators.py +0 -24
- foghttp-0.4.1/foghttp/_streaming/text/lines.py +0 -113
- foghttp-0.4.1/foghttp/_streaming/text/sync_chunks.py +0 -26
- foghttp-0.4.1/foghttp/_upload_body/async_sending.py +0 -86
- foghttp-0.4.1/foghttp/_upload_body/cleanup.py +0 -229
- foghttp-0.4.1/foghttp/_upload_body/feeders.py +0 -288
- foghttp-0.4.1/foghttp/_upload_body/file_source.py +0 -80
- foghttp-0.4.1/foghttp/_upload_body/models.py +0 -52
- foghttp-0.4.1/foghttp/_upload_body/runtime.py +0 -420
- foghttp-0.4.1/foghttp/_upload_body/thread_bridge.py +0 -208
- foghttp-0.4.1/foghttp/_validation/numeric.py +0 -53
- foghttp-0.4.1/foghttp/async_client.py +0 -542
- foghttp-0.4.1/foghttp/client.py +0 -511
- foghttp-0.4.1/foghttp/errors/__init__.py +0 -34
- foghttp-0.4.1/foghttp/errors/response.py +0 -41
- foghttp-0.4.1/foghttp/limits.py +0 -96
- foghttp-0.4.1/foghttp/prometheus/labels.py +0 -157
- foghttp-0.4.1/foghttp/request.py +0 -77
- foghttp-0.4.1/foghttp/stream_response/async_response.py +0 -126
- foghttp-0.4.1/foghttp/stream_response/base.py +0 -133
- foghttp-0.4.1/foghttp/stream_response/sync_response.py +0 -107
- foghttp-0.4.1/foghttp/stream_response/telemetry.py +0 -90
- foghttp-0.4.1/foghttp/transport_state.py +0 -73
- foghttp-0.4.1/foghttp/transport_stats.py +0 -46
- foghttp-0.4.1/pyproject.toml +0 -86
- foghttp-0.4.1/scripts/install_wheel_smoke.py +0 -89
- foghttp-0.4.1/scripts/wheel_smoke_runtime.py +0 -161
- foghttp-0.4.1/src/core/client/body.rs +0 -892
- foghttp-0.4.1/src/core/client/mod.rs +0 -133
- foghttp-0.4.1/src/core/client/proxy/endpoint.rs +0 -27
- foghttp-0.4.1/src/core/client/proxy/http.rs +0 -122
- foghttp-0.4.1/src/core/client/proxy/mod.rs +0 -16
- foghttp-0.4.1/src/core/client/proxy/tests.rs +0 -356
- foghttp-0.4.1/src/core/client/proxy/tunnel.rs +0 -285
- foghttp-0.4.1/src/core/client/ssrf.rs +0 -284
- foghttp-0.4.1/src/core/client/telemetry/mod.rs +0 -1036
- foghttp-0.4.1/src/core/client/telemetry/tests.rs +0 -1315
- foghttp-0.4.1/src/core/client/write_timeout.rs +0 -158
- foghttp-0.4.1/src/core/headers/request.rs +0 -19
- foghttp-0.4.1/src/core/headers/tests.rs +0 -54
- foghttp-0.4.1/src/core/metrics/counters.rs +0 -206
- foghttp-0.4.1/src/core/metrics/mod.rs +0 -62
- foghttp-0.4.1/src/core/metrics/snapshots.rs +0 -240
- foghttp-0.4.1/src/core/metrics/tests.rs +0 -249
- foghttp-0.4.1/src/core/policy/cookies.rs +0 -1065
- foghttp-0.4.1/src/core/policy/ssrf.rs +0 -749
- foghttp-0.4.1/src/core/request.rs +0 -55
- foghttp-0.4.1/src/core/response/body.rs +0 -89
- foghttp-0.4.1/src/core/response/budget.rs +0 -124
- foghttp-0.4.1/src/core/response/decompression.rs +0 -324
- foghttp-0.4.1/src/core/response/mod.rs +0 -7
- foghttp-0.4.1/src/core/telemetry.rs +0 -1262
- foghttp-0.4.1/src/core/tls/tests.rs +0 -31
- foghttp-0.4.1/src/core/url/constants.rs +0 -15
- foghttp-0.4.1/src/core/url/mod.rs +0 -90
- foghttp-0.4.1/src/core/url/origin.rs +0 -33
- foghttp-0.4.1/src/core/url/scheme.rs +0 -16
- foghttp-0.4.1/src/core/url/tests.rs +0 -49
- foghttp-0.4.1/src/errors.rs +0 -78
- foghttp-0.4.1/src/lib.rs +0 -17
- foghttp-0.4.1/src/py/client/async_requests/mod.rs +0 -10
- foghttp-0.4.1/src/py/client/async_requests/stream_spawn.rs +0 -123
- foghttp-0.4.1/src/py/client/future.rs +0 -213
- foghttp-0.4.1/src/py/client/mod.rs +0 -814
- foghttp-0.4.1/src/py/client/options.rs +0 -73
- foghttp-0.4.1/src/py/client/runtime/mod.rs +0 -98
- foghttp-0.4.1/src/py/client/runtime/shared.rs +0 -65
- foghttp-0.4.1/src/py/client/runtime/tests.rs +0 -134
- foghttp-0.4.1/src/py/client/streams/mod.rs +0 -11
- foghttp-0.4.1/src/py/client/streams/parts.rs +0 -38
- foghttp-0.4.1/src/py/client/streams/response.rs +0 -277
- foghttp-0.4.1/src/py/client/streams/state.rs +0 -526
- foghttp-0.4.1/src/py/client/streams/state_tests.rs +0 -240
- foghttp-0.4.1/src/py/client/transport/body.rs +0 -101
- foghttp-0.4.1/src/py/client/transport/buffered.rs +0 -164
- foghttp-0.4.1/src/py/client/transport/context.rs +0 -34
- foghttp-0.4.1/src/py/client/transport/errors.rs +0 -115
- foghttp-0.4.1/src/py/client/transport/mod.rs +0 -17
- foghttp-0.4.1/src/py/client/transport/request.rs +0 -1079
- foghttp-0.4.1/src/py/client/transport/response.rs +0 -208
- foghttp-0.4.1/src/py/client/transport/streaming.rs +0 -199
- foghttp-0.4.1/src/py/client/transport/tests.rs +0 -193
- foghttp-0.4.1/src/py/client/upload_body.rs +0 -352
- foghttp-0.4.1/src/py/mod.rs +0 -37
- foghttp-0.4.1/src/py/retry.rs +0 -343
- foghttp-0.4.1/src/py/stats.rs +0 -225
- foghttp-0.4.1/src/py/telemetry.rs +0 -86
- foghttp-0.4.1/src/py/transport_state.rs +0 -116
- foghttp-0.4.1/tests/client_cancellation/conftest.py +0 -73
- foghttp-0.4.1/tests/client_cancellation/test_async_lifecycle_debug_buffered.py +0 -133
- foghttp-0.4.1/tests/client_keepalive/conftest.py +0 -17
- foghttp-0.4.1/tests/client_keepalive/server.py +0 -374
- foghttp-0.4.1/tests/client_keepalive/test_async_keepalive.py +0 -408
- foghttp-0.4.1/tests/client_keepalive/test_sync_keepalive.py +0 -379
- foghttp-0.4.1/tests/client_lifecycle/conftest.py +0 -168
- foghttp-0.4.1/tests/client_lifecycle/helpers.py +0 -106
- foghttp-0.4.1/tests/client_lifecycle/test_async_client_lifecycle.py +0 -269
- foghttp-0.4.1/tests/client_lifecycle/test_fork_safety.py +0 -234
- foghttp-0.4.1/tests/client_lifecycle/test_sync_client_lifecycle.py +0 -284
- foghttp-0.4.1/tests/client_multipart/sources.py +0 -247
- foghttp-0.4.1/tests/client_multipart/test_async_multipart.py +0 -371
- foghttp-0.4.1/tests/client_multipart/test_multipart_internals.py +0 -1189
- foghttp-0.4.1/tests/client_multipart/test_request_builder.py +0 -326
- foghttp-0.4.1/tests/client_multipart/test_sync_multipart.py +0 -395
- foghttp-0.4.1/tests/client_options/test_numeric_validation.py +0 -122
- foghttp-0.4.1/tests/client_options/test_raw_numeric_boundary.py +0 -258
- foghttp-0.4.1/tests/client_proxy/connect_proxy_server.py +0 -256
- foghttp-0.4.1/tests/client_proxy/http_proxy_server.py +0 -285
- foghttp-0.4.1/tests/client_proxy/test_http_proxy_transport.py +0 -485
- foghttp-0.4.1/tests/client_proxy/test_https_proxy_connect.py +0 -646
- foghttp-0.4.1/tests/client_resources/conftest.py +0 -167
- foghttp-0.4.1/tests/client_resources/constants.py +0 -41
- foghttp-0.4.1/tests/client_resources/test_async_connection_limits.py +0 -193
- foghttp-0.4.1/tests/client_resources/test_async_origin_limits.py +0 -157
- foghttp-0.4.1/tests/client_resources/test_async_pool_diagnostics.py +0 -85
- foghttp-0.4.1/tests/client_resources/test_async_transport_state.py +0 -62
- foghttp-0.4.1/tests/client_resources/test_diagnostic_snapshot_contract.py +0 -156
- foghttp-0.4.1/tests/client_resources/test_sync_connection_limits.py +0 -230
- foghttp-0.4.1/tests/client_resources/test_sync_origin_limits.py +0 -151
- foghttp-0.4.1/tests/client_resources/test_sync_pool_diagnostics.py +0 -119
- foghttp-0.4.1/tests/client_resources/test_sync_transport_state.py +0 -58
- foghttp-0.4.1/tests/client_retry/conftest.py +0 -11
- foghttp-0.4.1/tests/client_retry/constants.py +0 -18
- foghttp-0.4.1/tests/client_retry/models.py +0 -20
- foghttp-0.4.1/tests/client_retry/server.py +0 -341
- foghttp-0.4.1/tests/client_retry/sources.py +0 -114
- foghttp-0.4.1/tests/client_retry/test_async_retry.py +0 -195
- foghttp-0.4.1/tests/client_retry/test_attempt_trace.py +0 -533
- foghttp-0.4.1/tests/client_retry/test_sync_retry.py +0 -522
- foghttp-0.4.1/tests/client_streaming/conftest.py +0 -24
- foghttp-0.4.1/tests/client_streaming/constants.py +0 -49
- foghttp-0.4.1/tests/client_streaming/server.py +0 -346
- foghttp-0.4.1/tests/client_streaming/test_async_streaming.py +0 -264
- foghttp-0.4.1/tests/client_streaming/test_streaming_text_decoding.py +0 -134
- foghttp-0.4.1/tests/client_streaming/test_sync_streaming.py +0 -266
- foghttp-0.4.1/tests/client_streaming/text_decoding_sources.py +0 -34
- foghttp-0.4.1/tests/client_timeouts/conftest.py +0 -255
- foghttp-0.4.1/tests/client_timeouts/test_async_timeouts.py +0 -355
- foghttp-0.4.1/tests/client_timeouts/test_sync_timeouts.py +0 -310
- foghttp-0.4.1/tests/client_tls/handshake_server.py +0 -92
- foghttp-0.4.1/tests/client_tls/models.py +0 -32
- foghttp-0.4.1/tests/client_tls/server.py +0 -86
- foghttp-0.4.1/tests/client_transport/models.py +0 -108
- foghttp-0.4.1/tests/client_transport/test_transport_adapter.py +0 -284
- foghttp-0.4.1/tests/client_upload/helpers.py +0 -166
- foghttp-0.4.1/tests/client_upload/test_streaming_upload.py +0 -952
- foghttp-0.4.1/tests/client_upload/test_upload_helpers.py +0 -3172
- foghttp-0.4.1/tests/conftest.py +0 -7
- foghttp-0.4.1/tests/fault_injection/server.py +0 -124
- foghttp-0.4.1/tests/network_errors/conftest.py +0 -81
- foghttp-0.4.1/tests/prometheus/test_telemetry_sink.py +0 -860
- foghttp-0.4.1/tests/pyo3_boundary/async_future_server.py +0 -71
- foghttp-0.4.1/tests/pyo3_boundary/test_raw_client_signatures.py +0 -91
- foghttp-0.4.1/tests/request_builder/test_body.py +0 -250
- foghttp-0.4.1/tests/response_decompression/payloads.py +0 -50
- foghttp-0.4.1/tests/response_decompression/server.py +0 -173
- foghttp-0.4.1/tests/response_decompression/test_async_response_decompression.py +0 -170
- foghttp-0.4.1/tests/response_decompression/test_sync_response_decompression.py +0 -170
- foghttp-0.4.1/tests/support/async_http_server.py +0 -89
- foghttp-0.4.1/tests/support/sync_http_server.py +0 -327
- foghttp-0.4.1/tests/test_async_client.py +0 -223
- foghttp-0.4.1/tests/test_public_api.py +0 -91
- foghttp-0.4.1/tests/test_raw_client.py +0 -513
- foghttp-0.4.1/tests/test_raw_client_errors.py +0 -493
- foghttp-0.4.1/tests/test_response_encoding.py +0 -113
- foghttp-0.4.1/tests/test_sync_client.py +0 -222
- foghttp-0.4.1/tests/test_transport_stats.py +0 -72
- foghttp-0.4.1/tests/types/test_request_response_protocols.py +0 -72
- foghttp-0.4.1/tests/types/test_upload_contracts.py +0 -138
- foghttp-0.4.1/uv.lock +0 -967
- {foghttp-0.4.1 → foghttp-0.4.2}/.flake8 +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/.github/dependabot.yml +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/.gitignore +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/CODE_OF_CONDUCT.md +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/LICENSE +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/async_json_fanout.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/async_lifecycle_debug.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/async_resource_limits.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/async_streaming.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/authentication.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/compressed_response.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/cookies.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/http_proxy.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/multipart_uploads.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/prepared_requests.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/redirects.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/request_builder_compatibility.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/retry_policy.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/ssrf_policy.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/sync_json_api.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/sync_streaming.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/examples/telemetry_hooks.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_auth_headers.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/asyncio_futures.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/auth.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/lifecycle_debug.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/process.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/proxy/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/proxy/auth.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/proxy/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/proxy/environment.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/proxy/models.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/proxy/no_proxy.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/proxy/no_proxy_rule.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/proxy/no_proxy_tokens.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/proxy/resolver.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/proxy/transport_policy.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/proxy/url_parsing.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/raw/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/raw/ssrf_errors.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/raw/timeout_errors.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/request_builder/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/request_builder/defaults.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/request_builder/header_policy.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/request_builder/merge.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/retry.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/retry_trace_mapping.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/runtime/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/runtime/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/runtime/mode.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/runtime/validation.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/runtime/workers.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/telemetry/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/telemetry/clock.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/telemetry/request_events.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/telemetry/responses.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/telemetry/retries.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/telemetry/url.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_client/tls.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_multipart/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_multipart/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_multipart/content_type.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_multipart/encoding.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_multipart/fields.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_multipart/file_parts.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_multipart/length.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_multipart/normalize.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_multipart/parts.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_multipart/values.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_redaction.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_request_body.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_response/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_response/status.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_streaming/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_streaming/text/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_telemetry.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_upload_body/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_upload_body/chunks.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_upload_body/normalize.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_upload_body/predicates.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_validation/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_validation/callables.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/_validation/ssrf.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/auth.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/body.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/errors/base.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/errors/configuration.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/errors/lifecycle.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/errors/ssrf.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/errors/timeout.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/headers.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/lifecycle_debug.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/messages.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/methods.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/models.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/policy.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/pool_diagnostics.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/prometheus/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/prometheus/stats.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/prometheus/telemetry.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/py.typed +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/request_extensions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/request_info.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/response.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/retry.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/retry_trace.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/ssrf.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/stats.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/status_codes/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/status_codes/client_error.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/status_codes/redirect.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/status_codes/server_error.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/status_codes/success.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/stream_response/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/stream_response/bindings.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/stream_response/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/stream_response/lifecycle_debug.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/stream_response/status.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/telemetry/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/telemetry/config.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/telemetry/errors.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/telemetry/events.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/telemetry/logging.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/telemetry/sinks.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/timeout_diagnostics.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/timeouts.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/tls.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/types/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/types/http.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/types/multipart.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/types/protocols.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/types/request.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/types/streams.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/foghttp/url.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/logo.png +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/ruff.toml +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/scripts/check_all_position.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/client/connection_limit.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/client/proxy/authorization.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/headers/mod.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/headers/response.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/method.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/metrics/atomic.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/metrics/buffered.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/metrics/lifecycle.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/metrics/origin/blocking.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/metrics/origin/metrics.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/metrics/origin/mod.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/metrics/origin/registry.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/metrics/origin/snapshots.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/metrics/origin/tests.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/metrics/origin/waiters.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/metrics/telemetry.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/mod.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/numeric/mod.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/numeric/tests.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/error.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/mod.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/pipeline.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/proxy.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/redirect/action.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/redirect/headers.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/redirect/method.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/redirect/mod.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/redirect/policy.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/redirect/status.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/redirect/tests.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/redirect/utils.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/request.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/retry/tests.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/retry.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/policy/tests.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/core/tls/mod.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/messages.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/acquire/diagnostics.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/acquire/gate.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/acquire/mod.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/acquire/origin.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/acquire/pending.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/acquire/permit.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/acquire/telemetry.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/acquire/tests.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/async_requests/active.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/async_requests/callback.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/async_requests/registry.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/async_requests/spawn.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/auth.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/lifecycle/mod.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/lifecycle/tests.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/policy_hooks.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/process.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/runtime/constants.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/runtime/workers.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/streams/callback.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/streams/constants.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/streams/read.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/streams/registry.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/timeout_diagnostics.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/transport/client.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/client/transport/retry.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/pool_diagnostics.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/response.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/src/py/url.rs +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/__init__.py +0 -0
- {foghttp-0.4.1/tests/client_auth → foghttp-0.4.2/tests/accept_encoding}/__init__.py +0 -0
- {foghttp-0.4.1/tests/client_cookies → foghttp-0.4.2/tests/client_auth}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_auth/test_async_auth.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_auth/test_contract.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_auth/test_sync_auth.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cancellation/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cancellation/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cancellation/helpers.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cancellation/lifecycle_debug_actions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cancellation/lifecycle_debug_assertions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cancellation/lifecycle_debug_data.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cancellation/lifecycle_debug_predicates.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cancellation/test_async_cancellation.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cancellation/test_async_lifecycle_debug_messages.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cancellation/test_async_lifecycle_debug_streaming.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cancellation/test_async_lifecycle_debug_strict.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cancellation/test_async_telemetry.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cancellation/test_asyncio_helpers.py +0 -0
- {foghttp-0.4.1/tests/client_keepalive → foghttp-0.4.2/tests/client_cookies}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cookies/assertions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cookies/test_async_cookies.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_cookies/test_sync_cookies.py +0 -0
- {foghttp-0.4.1/tests/client_multipart → foghttp-0.4.2/tests/client_keepalive}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_keepalive/assertions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_keepalive/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_keepalive/models.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_lifecycle/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_lifecycle/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_lifecycle/fork_actions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_lifecycle/test_fork_close_safety.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_lifecycle/test_fork_stream_safety.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_lifecycle/test_raw_client_lifecycle.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_lifecycle/test_sync_close_race.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_lifecycle/test_sync_close_waits.py +0 -0
- {foghttp-0.4.1/tests/client_policy_hooks → foghttp-0.4.2/tests/client_multipart}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_multipart/assertions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_multipart/models.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_options/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_options/raw_options.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_options/test_raw_retry_boundary.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_options/test_raw_ssrf_boundary.py +0 -0
- {foghttp-0.4.1/tests/client_proxy → foghttp-0.4.2/tests/client_policy_hooks}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_policy_hooks/requests.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_policy_hooks/test_async_hooks.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_policy_hooks/test_contract.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_policy_hooks/test_sync_hooks.py +0 -0
- {foghttp-0.4.1/tests/client_query → foghttp-0.4.2/tests/client_proxy}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_proxy/client_options.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_proxy/conftest.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_proxy/environment.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_proxy/test_client_config.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_proxy/test_environment.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_proxy/test_no_proxy.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_proxy/test_proxy_models.py +0 -0
- {foghttp-0.4.1/tests/client_resources → foghttp-0.4.2/tests/client_query}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_query/assertions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_query/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_query/test_async_query.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_query/test_async_query_redirects.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_query/test_request_builder.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_query/test_sync_query.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_query/test_sync_query_redirects.py +0 -0
- {foghttp-0.4.1/tests/client_retry → foghttp-0.4.2/tests/client_resources}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_resources/helpers.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_resources/test_async_global_limits.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_resources/test_async_response_body_limits.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_resources/test_sync_global_limits.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_resources/test_sync_response_body_limits.py +0 -0
- {foghttp-0.4.1/tests/client_telemetry → foghttp-0.4.2/tests/client_retry}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_retry/assertions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_retry/test_auth_refresh.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_retry/test_policy_config.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_ssrf/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_ssrf/test_async_ssrf.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_ssrf/test_policy_config.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_ssrf/test_sync_ssrf.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_streaming/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_streaming/stream_readers.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_streaming/test_async_streaming_text_lines.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_streaming/test_sync_streaming_text_lines.py +0 -0
- {foghttp-0.4.1/tests/client_timeouts → foghttp-0.4.2/tests/client_telemetry}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_telemetry/assertions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_telemetry/conftest.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_telemetry/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_telemetry/models.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_telemetry/test_async_stream_hooks.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_telemetry/test_async_stream_telemetry.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_telemetry/test_async_telemetry.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_telemetry/test_concurrent_delivery.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_telemetry/test_event_contract.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_telemetry/test_native_lifecycle_events.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_telemetry/test_structured_logging.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_telemetry/test_sync_stream_telemetry.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_telemetry/test_sync_telemetry.py +0 -0
- {foghttp-0.4.1/tests/client_tls → foghttp-0.4.2/tests/client_timeouts}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_timeouts/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_timeouts/helpers.py +0 -0
- {foghttp-0.4.1/tests/client_upload → foghttp-0.4.2/tests/client_tls}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_tls/assertions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_tls/certificates.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_tls/conftest.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_tls/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_tls/test_async_tls.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_tls/test_async_tls_redirects.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_tls/test_sync_tls.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_tls/test_sync_tls_redirects.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_tls/test_tls_config.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_transport/__init__.py +0 -0
- {foghttp-0.4.1/tests/examples → foghttp-0.4.2/tests/client_upload}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/client_warning_actions.py +0 -0
- {foghttp-0.4.1/tests/fault_injection → foghttp-0.4.2/tests/examples}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/examples/test_imports.py +0 -0
- {foghttp-0.4.1/tests/network_errors → foghttp-0.4.2/tests/fault_injection}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/fault_injection/conftest.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/fault_injection/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/fault_injection/models.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/fault_injection/protocol.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/fault_injection/responses.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/fault_injection/state.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/fault_injection/state_assertions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/fault_injection/test_async_fault_injection.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/fault_injection/test_async_socket_shutdown.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/fault_injection/test_sync_fault_injection.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/fault_injection/test_sync_socket_shutdown.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/fault_injection/timeout_assertions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/fault_injection/transport_waiters.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/http_body_scenarios.py +0 -0
- {foghttp-0.4.1/tests/prometheus → foghttp-0.4.2/tests/network_errors}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/network_errors/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/network_errors/helpers.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/network_errors/test_async_network_errors.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/network_errors/test_sync_network_errors.py +0 -0
- {foghttp-0.4.1/tests/request_builder → foghttp-0.4.2/tests/prometheus}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/prometheus/test_integration.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/prometheus/test_optional_dependency.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/prometheus/test_stats_collector.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/pyo3_boundary/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/pyo3_boundary/conftest.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/pyo3_boundary/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/pyo3_boundary/gil_progress.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/pyo3_boundary/test_async_future_boundary.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/pyo3_boundary/test_sync_gil_boundary.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/pyo3_boundary/thread_worker.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/redirect_helpers.py +0 -0
- {foghttp-0.4.1/tests/response_decompression → foghttp-0.4.2/tests/release_validation}/__init__.py +0 -0
- {foghttp-0.4.1/tests/types → foghttp-0.4.2/tests/request_builder}/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/request_builder/encoding_property_helpers.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/request_builder/test_base_url.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/request_builder/test_default_headers.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/request_builder/test_default_params.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/request_builder/test_encoding_properties.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/request_builder/test_extensions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/request_builder/test_header_policy.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/request_builder/test_headers.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/request_builder/test_merge_contract.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/request_builder/test_no_mutation.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/request_builder/test_parity.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/request_builder/test_query_params.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/request_builder/test_shortcuts.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/request_factories.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/response_decompression/conftest.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/response_decompression/constants.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/response_decompression/helpers.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/support/__init__.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/support/http_routes.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/support/raw_responses.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/support/timeout_diagnostics.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/support/transport_state.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/support/transport_stats.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/test_async_redirects.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/test_async_response.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/test_client_options.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/test_headers.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/test_query_params.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/test_redaction.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/test_request_extensions.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/test_request_model.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/test_response_flags.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/test_runtime_workers.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/test_sync_redirects.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/test_sync_response.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/test_transport_stats_waiters.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/test_url.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/types/test_auth_contracts.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/types/test_policy_contracts.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/types/test_prometheus_contracts.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/types/test_request_extensions_contracts.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/types/test_retry_trace_contracts.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/types/test_structured_logging_contracts.py +0 -0
- {foghttp-0.4.1 → foghttp-0.4.2}/tests/types/test_telemetry_contracts.py +0 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
branches: [main, 'release/**']
|
|
6
|
+
types: [opened, synchronize, reopened, ready_for_review]
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
concurrency:
|
|
13
|
+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
14
|
+
cancel-in-progress: true
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
quality:
|
|
18
|
+
name: Full checks
|
|
19
|
+
uses: ./.github/workflows/full_checks.yml
|
|
20
|
+
|
|
21
|
+
abi3-wheel:
|
|
22
|
+
name: Build and audit abi3 wheel
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
timeout-minutes: 30
|
|
25
|
+
steps:
|
|
26
|
+
- name: Checkout
|
|
27
|
+
uses: actions/checkout@v4
|
|
28
|
+
with:
|
|
29
|
+
ref: ${{ github.sha }}
|
|
30
|
+
|
|
31
|
+
- name: Set up Python
|
|
32
|
+
uses: actions/setup-python@v5
|
|
33
|
+
with:
|
|
34
|
+
python-version: "3.11"
|
|
35
|
+
|
|
36
|
+
- name: Verify candidate identity
|
|
37
|
+
env:
|
|
38
|
+
CANDIDATE_SHA: ${{ github.sha }}
|
|
39
|
+
run: >-
|
|
40
|
+
python scripts/check_release_candidate.py
|
|
41
|
+
--candidate-sha "$CANDIDATE_SHA" --expected-sha "$GITHUB_SHA"
|
|
42
|
+
--checkout-sha "$(git rev-parse HEAD)"
|
|
43
|
+
|
|
44
|
+
- name: Build wheel
|
|
45
|
+
uses: PyO3/maturin-action@v1
|
|
46
|
+
with:
|
|
47
|
+
command: build
|
|
48
|
+
target: x86_64
|
|
49
|
+
args: --release --locked --out dist --interpreter python3.11
|
|
50
|
+
manylinux: "2014"
|
|
51
|
+
sccache: true
|
|
52
|
+
|
|
53
|
+
- name: Install abi3audit
|
|
54
|
+
run: python -m pip install --disable-pip-version-check "abi3audit==0.0.26"
|
|
55
|
+
|
|
56
|
+
- name: Audit stable ABI compatibility
|
|
57
|
+
run: python -m abi3audit --strict --summary dist/*.whl
|
|
58
|
+
|
|
59
|
+
- name: Upload wheel artifact
|
|
60
|
+
uses: actions/upload-artifact@v4
|
|
61
|
+
with:
|
|
62
|
+
name: abi3-wheel-linux-x86_64
|
|
63
|
+
path: dist/*.whl
|
|
64
|
+
if-no-files-found: error
|
|
65
|
+
|
|
66
|
+
abi3-wheel-smoke:
|
|
67
|
+
name: Smoke abi3 wheel (Python ${{ matrix.python-version }})
|
|
68
|
+
runs-on: ubuntu-latest
|
|
69
|
+
needs: abi3-wheel
|
|
70
|
+
timeout-minutes: 15
|
|
71
|
+
strategy:
|
|
72
|
+
fail-fast: false
|
|
73
|
+
matrix:
|
|
74
|
+
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
|
|
75
|
+
steps:
|
|
76
|
+
- name: Checkout
|
|
77
|
+
uses: actions/checkout@v4
|
|
78
|
+
with:
|
|
79
|
+
ref: ${{ github.sha }}
|
|
80
|
+
|
|
81
|
+
- name: Set up Python
|
|
82
|
+
uses: actions/setup-python@v5
|
|
83
|
+
with:
|
|
84
|
+
python-version: ${{ matrix.python-version }}
|
|
85
|
+
|
|
86
|
+
- name: Verify candidate identity
|
|
87
|
+
env:
|
|
88
|
+
CANDIDATE_SHA: ${{ github.sha }}
|
|
89
|
+
run: >-
|
|
90
|
+
python scripts/check_release_candidate.py
|
|
91
|
+
--candidate-sha "$CANDIDATE_SHA" --expected-sha "$GITHUB_SHA"
|
|
92
|
+
--checkout-sha "$(git rev-parse HEAD)"
|
|
93
|
+
|
|
94
|
+
- name: Download wheel
|
|
95
|
+
uses: actions/download-artifact@v4
|
|
96
|
+
with:
|
|
97
|
+
name: abi3-wheel-linux-x86_64
|
|
98
|
+
path: dist
|
|
99
|
+
|
|
100
|
+
- name: Smoke test wheel install
|
|
101
|
+
run: python -I -S scripts/install_wheel_smoke.py --dist-dir dist
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
name: Full checks
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call:
|
|
5
|
+
outputs:
|
|
6
|
+
candidate-sha:
|
|
7
|
+
description: Commit verified by every required quality job
|
|
8
|
+
value: ${{ jobs.quality-gate.outputs.candidate-sha }}
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
pre-commit:
|
|
15
|
+
name: Pre-commit
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
timeout-minutes: 20
|
|
18
|
+
steps:
|
|
19
|
+
- name: Checkout
|
|
20
|
+
uses: actions/checkout@v4
|
|
21
|
+
with:
|
|
22
|
+
ref: ${{ github.sha }}
|
|
23
|
+
|
|
24
|
+
- name: Set up Python
|
|
25
|
+
uses: actions/setup-python@v5
|
|
26
|
+
with:
|
|
27
|
+
python-version: "3.11"
|
|
28
|
+
|
|
29
|
+
- name: Verify candidate identity
|
|
30
|
+
env:
|
|
31
|
+
CANDIDATE_SHA: ${{ github.sha }}
|
|
32
|
+
run: >-
|
|
33
|
+
python scripts/check_release_candidate.py
|
|
34
|
+
--candidate-sha "$CANDIDATE_SHA" --expected-sha "$GITHUB_SHA"
|
|
35
|
+
--checkout-sha "$(git rev-parse HEAD)"
|
|
36
|
+
|
|
37
|
+
- name: Set up uv
|
|
38
|
+
uses: astral-sh/setup-uv@v5
|
|
39
|
+
with:
|
|
40
|
+
enable-cache: true
|
|
41
|
+
cache-dependency-glob: uv.lock
|
|
42
|
+
|
|
43
|
+
- name: Run pre-commit hooks
|
|
44
|
+
run: uv run --no-project --with pre-commit pre-commit run --all-files --show-diff-on-failure
|
|
45
|
+
|
|
46
|
+
rust:
|
|
47
|
+
name: Rust
|
|
48
|
+
runs-on: ubuntu-latest
|
|
49
|
+
timeout-minutes: 20
|
|
50
|
+
steps:
|
|
51
|
+
- name: Checkout
|
|
52
|
+
uses: actions/checkout@v4
|
|
53
|
+
with:
|
|
54
|
+
ref: ${{ github.sha }}
|
|
55
|
+
|
|
56
|
+
- name: Set up Python
|
|
57
|
+
uses: actions/setup-python@v5
|
|
58
|
+
with:
|
|
59
|
+
python-version: "3.11"
|
|
60
|
+
|
|
61
|
+
- name: Verify candidate identity
|
|
62
|
+
env:
|
|
63
|
+
CANDIDATE_SHA: ${{ github.sha }}
|
|
64
|
+
run: >-
|
|
65
|
+
python scripts/check_release_candidate.py
|
|
66
|
+
--candidate-sha "$CANDIDATE_SHA" --expected-sha "$GITHUB_SHA"
|
|
67
|
+
--checkout-sha "$(git rev-parse HEAD)"
|
|
68
|
+
|
|
69
|
+
- name: Set up Rust
|
|
70
|
+
uses: dtolnay/rust-toolchain@stable
|
|
71
|
+
with:
|
|
72
|
+
components: rustfmt, clippy
|
|
73
|
+
|
|
74
|
+
- name: Cache Rust
|
|
75
|
+
uses: Swatinem/rust-cache@v2
|
|
76
|
+
|
|
77
|
+
- name: Check formatting
|
|
78
|
+
run: cargo fmt --check
|
|
79
|
+
|
|
80
|
+
- name: Run clippy
|
|
81
|
+
run: cargo clippy --locked --all-targets -- -D warnings
|
|
82
|
+
|
|
83
|
+
- name: Run Rust tests
|
|
84
|
+
run: cargo test --locked --all-targets
|
|
85
|
+
|
|
86
|
+
rust-msrv:
|
|
87
|
+
name: Rust MSRV (1.88)
|
|
88
|
+
runs-on: ubuntu-latest
|
|
89
|
+
timeout-minutes: 20
|
|
90
|
+
steps:
|
|
91
|
+
- name: Checkout
|
|
92
|
+
uses: actions/checkout@v4
|
|
93
|
+
with:
|
|
94
|
+
ref: ${{ github.sha }}
|
|
95
|
+
|
|
96
|
+
- name: Set up Python
|
|
97
|
+
uses: actions/setup-python@v5
|
|
98
|
+
with:
|
|
99
|
+
python-version: "3.11"
|
|
100
|
+
|
|
101
|
+
- name: Verify candidate identity
|
|
102
|
+
env:
|
|
103
|
+
CANDIDATE_SHA: ${{ github.sha }}
|
|
104
|
+
run: >-
|
|
105
|
+
python scripts/check_release_candidate.py
|
|
106
|
+
--candidate-sha "$CANDIDATE_SHA" --expected-sha "$GITHUB_SHA"
|
|
107
|
+
--checkout-sha "$(git rev-parse HEAD)"
|
|
108
|
+
|
|
109
|
+
- name: Set up Rust MSRV
|
|
110
|
+
uses: dtolnay/rust-toolchain@1.88.0
|
|
111
|
+
|
|
112
|
+
- name: Cache Rust
|
|
113
|
+
uses: Swatinem/rust-cache@v2
|
|
114
|
+
|
|
115
|
+
- name: Show Rust version
|
|
116
|
+
run: rustc --version
|
|
117
|
+
|
|
118
|
+
- name: Run Rust tests at MSRV
|
|
119
|
+
run: cargo test --locked --all-targets
|
|
120
|
+
|
|
121
|
+
- name: Check release features at MSRV
|
|
122
|
+
run: cargo check --locked --all-targets --all-features
|
|
123
|
+
|
|
124
|
+
tests:
|
|
125
|
+
name: Tests (Python ${{ matrix.python-version }})
|
|
126
|
+
runs-on: ubuntu-latest
|
|
127
|
+
timeout-minutes: 30
|
|
128
|
+
env:
|
|
129
|
+
UV_PYTHON: ${{ matrix.python-version }}
|
|
130
|
+
UV_PYTHON_DOWNLOADS: never
|
|
131
|
+
strategy:
|
|
132
|
+
fail-fast: false
|
|
133
|
+
matrix:
|
|
134
|
+
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
|
|
135
|
+
steps:
|
|
136
|
+
- name: Checkout
|
|
137
|
+
uses: actions/checkout@v4
|
|
138
|
+
with:
|
|
139
|
+
ref: ${{ github.sha }}
|
|
140
|
+
|
|
141
|
+
- name: Set up Python
|
|
142
|
+
uses: actions/setup-python@v5
|
|
143
|
+
with:
|
|
144
|
+
python-version: ${{ matrix.python-version }}
|
|
145
|
+
|
|
146
|
+
- name: Verify candidate identity
|
|
147
|
+
env:
|
|
148
|
+
CANDIDATE_SHA: ${{ github.sha }}
|
|
149
|
+
run: >-
|
|
150
|
+
python scripts/check_release_candidate.py
|
|
151
|
+
--candidate-sha "$CANDIDATE_SHA" --expected-sha "$GITHUB_SHA"
|
|
152
|
+
--checkout-sha "$(git rev-parse HEAD)"
|
|
153
|
+
|
|
154
|
+
- name: Set up Rust
|
|
155
|
+
uses: dtolnay/rust-toolchain@stable
|
|
156
|
+
|
|
157
|
+
- name: Cache Rust
|
|
158
|
+
uses: Swatinem/rust-cache@v2
|
|
159
|
+
|
|
160
|
+
- name: Set up uv
|
|
161
|
+
uses: astral-sh/setup-uv@v5
|
|
162
|
+
with:
|
|
163
|
+
enable-cache: true
|
|
164
|
+
cache-dependency-glob: uv.lock
|
|
165
|
+
|
|
166
|
+
- name: Build extension in place
|
|
167
|
+
run: uv run --locked --extra dev --with "maturin>=1.7,<2" maturin develop --locked --skip-install
|
|
168
|
+
|
|
169
|
+
- name: Verify test interpreter
|
|
170
|
+
env:
|
|
171
|
+
EXPECTED_PYTHON: ${{ matrix.python-version }}
|
|
172
|
+
run: |
|
|
173
|
+
uv run --locked --extra dev python - <<'PY'
|
|
174
|
+
import os
|
|
175
|
+
import sys
|
|
176
|
+
import sysconfig
|
|
177
|
+
|
|
178
|
+
print(sys.version, sys.executable)
|
|
179
|
+
assert f"{sys.version_info.major}.{sys.version_info.minor}" == os.environ["EXPECTED_PYTHON"]
|
|
180
|
+
assert sys.version_info.releaselevel == "final"
|
|
181
|
+
assert sys.implementation.name == "cpython"
|
|
182
|
+
assert not sysconfig.get_config_var("Py_GIL_DISABLED")
|
|
183
|
+
PY
|
|
184
|
+
|
|
185
|
+
- name: Run tests
|
|
186
|
+
if: matrix.python-version != '3.14'
|
|
187
|
+
run: uv run --locked --extra dev pytest -vv
|
|
188
|
+
|
|
189
|
+
- name: Run tests with coverage
|
|
190
|
+
if: matrix.python-version == '3.14'
|
|
191
|
+
run: uv run --locked --extra dev coverage run -m pytest -vv
|
|
192
|
+
|
|
193
|
+
- name: Report coverage
|
|
194
|
+
if: matrix.python-version == '3.14'
|
|
195
|
+
run: uv run --locked --extra dev coverage report -m
|
|
196
|
+
|
|
197
|
+
quality-gate:
|
|
198
|
+
name: Verify full-check evidence
|
|
199
|
+
if: ${{ always() }}
|
|
200
|
+
runs-on: ubuntu-latest
|
|
201
|
+
needs: [pre-commit, rust, rust-msrv, tests]
|
|
202
|
+
timeout-minutes: 5
|
|
203
|
+
outputs:
|
|
204
|
+
candidate-sha: ${{ steps.verify.outputs.candidate-sha }}
|
|
205
|
+
steps:
|
|
206
|
+
- name: Checkout
|
|
207
|
+
uses: actions/checkout@v4
|
|
208
|
+
with:
|
|
209
|
+
ref: ${{ github.sha }}
|
|
210
|
+
|
|
211
|
+
- name: Set up Python
|
|
212
|
+
uses: actions/setup-python@v5
|
|
213
|
+
with:
|
|
214
|
+
python-version: "3.11"
|
|
215
|
+
|
|
216
|
+
- name: Require every full check
|
|
217
|
+
id: verify
|
|
218
|
+
env:
|
|
219
|
+
CANDIDATE_SHA: ${{ github.sha }}
|
|
220
|
+
CHECK_RESULTS: ${{ toJSON(needs) }}
|
|
221
|
+
run: |
|
|
222
|
+
python scripts/check_release_candidate.py \
|
|
223
|
+
--candidate-sha "$CANDIDATE_SHA" --expected-sha "$GITHUB_SHA" \
|
|
224
|
+
--checkout-sha "$(git rev-parse HEAD)" --needs-json "$CHECK_RESULTS" \
|
|
225
|
+
--required-check pre-commit --required-check rust \
|
|
226
|
+
--required-check rust-msrv --required-check tests \
|
|
227
|
+
--receipt full-checks.json
|
|
228
|
+
echo "candidate-sha=$CANDIDATE_SHA" >> "$GITHUB_OUTPUT"
|
|
229
|
+
|
|
230
|
+
- name: Retain full-check evidence
|
|
231
|
+
uses: actions/upload-artifact@v4
|
|
232
|
+
with:
|
|
233
|
+
name: full-checks-evidence
|
|
234
|
+
path: full-checks.json
|
|
235
|
+
if-no-files-found: error
|