foghttp 0.3.9__tar.gz → 0.4.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.
Files changed (641) hide show
  1. {foghttp-0.3.9 → foghttp-0.4.0}/.flake8 +4 -0
  2. foghttp-0.4.0/.github/dependabot.yml +14 -0
  3. {foghttp-0.3.9 → foghttp-0.4.0}/.github/workflows/ci.yml +24 -1
  4. {foghttp-0.3.9 → foghttp-0.4.0}/.github/workflows/release.yml +3 -3
  5. {foghttp-0.3.9 → foghttp-0.4.0}/.pre-commit-config.yaml +6 -2
  6. {foghttp-0.3.9 → foghttp-0.4.0}/CONTRIBUTING.md +23 -7
  7. {foghttp-0.3.9 → foghttp-0.4.0}/Cargo.lock +1 -1
  8. {foghttp-0.3.9 → foghttp-0.4.0}/Cargo.toml +1 -1
  9. {foghttp-0.3.9 → foghttp-0.4.0}/PKG-INFO +28 -7
  10. {foghttp-0.3.9 → foghttp-0.4.0}/README.md +24 -6
  11. {foghttp-0.3.9 → foghttp-0.4.0}/SECURITY.md +20 -3
  12. {foghttp-0.3.9 → foghttp-0.4.0}/docs/benchmarks.md +100 -4
  13. foghttp-0.4.0/docs/httpx-migration.md +663 -0
  14. {foghttp-0.3.9 → foghttp-0.4.0}/docs/index.md +17 -4
  15. {foghttp-0.3.9 → foghttp-0.4.0}/docs/lifecycle.md +104 -10
  16. {foghttp-0.3.9 → foghttp-0.4.0}/docs/limitations.md +12 -4
  17. {foghttp-0.3.9 → foghttp-0.4.0}/docs/packaging.md +7 -1
  18. foghttp-0.4.0/docs/prometheus.md +220 -0
  19. {foghttp-0.3.9 → foghttp-0.4.0}/docs/quickstart.md +20 -2
  20. {foghttp-0.3.9 → foghttp-0.4.0}/docs/request-builder.md +20 -0
  21. foghttp-0.4.0/docs/telemetry.md +321 -0
  22. {foghttp-0.3.9 → foghttp-0.4.0}/docs/timeouts.md +4 -4
  23. foghttp-0.4.0/docs/typing.md +80 -0
  24. foghttp-0.4.0/docs/upload-types.md +117 -0
  25. {foghttp-0.3.9 → foghttp-0.4.0}/examples/README.md +16 -0
  26. {foghttp-0.3.9 → foghttp-0.4.0}/examples/http_proxy.py +5 -4
  27. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/__init__.py +8 -0
  28. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/core.py +51 -1
  29. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/raw/lifecycle.py +7 -3
  30. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/raw/requests.py +8 -0
  31. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/retry.py +9 -0
  32. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/stream_context.py +5 -5
  33. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/telemetry/__init__.py +5 -1
  34. foghttp-0.4.0/foghttp/_client/telemetry/dispatcher.py +271 -0
  35. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/telemetry/emission.py +25 -0
  36. foghttp-0.4.0/foghttp/_client/telemetry/hook_errors.py +44 -0
  37. foghttp-0.4.0/foghttp/_client/telemetry/native.py +147 -0
  38. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/telemetry/request_context.py +13 -1
  39. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/telemetry/request_events.py +4 -1
  40. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/telemetry/responses.py +15 -11
  41. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/transport.py +35 -11
  42. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_foghttp.pyi +30 -0
  43. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_multipart/stream.py +24 -15
  44. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_telemetry.py +1 -1
  45. foghttp-0.4.0/foghttp/_upload_body/cleanup.py +110 -0
  46. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_upload_body/feeders.py +14 -33
  47. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_upload_body/runtime.py +59 -50
  48. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_upload_body/thread_bridge.py +18 -3
  49. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/async_client.py +61 -7
  50. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/client.py +89 -35
  51. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/errors/__init__.py +2 -0
  52. foghttp-0.4.0/foghttp/errors/configuration.py +7 -0
  53. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/messages.py +1 -1
  54. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/policy.py +9 -3
  55. foghttp-0.4.0/foghttp/prometheus/__init__.py +9 -0
  56. foghttp-0.4.0/foghttp/prometheus/labels.py +157 -0
  57. foghttp-0.4.0/foghttp/prometheus/stats.py +122 -0
  58. foghttp-0.4.0/foghttp/prometheus/telemetry.py +364 -0
  59. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/stream_response/async_response.py +6 -2
  60. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/stream_response/base.py +14 -4
  61. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/stream_response/bindings.py +5 -1
  62. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/stream_response/sync_response.py +6 -2
  63. foghttp-0.4.0/foghttp/stream_response/telemetry.py +90 -0
  64. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/telemetry/__init__.py +2 -0
  65. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/telemetry/events.py +7 -5
  66. foghttp-0.4.0/foghttp/telemetry/logging.py +88 -0
  67. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/types/__init__.py +12 -0
  68. foghttp-0.4.0/foghttp/types/protocols.py +144 -0
  69. {foghttp-0.3.9 → foghttp-0.4.0}/pyproject.toml +5 -1
  70. {foghttp-0.3.9 → foghttp-0.4.0}/ruff.toml +2 -2
  71. foghttp-0.4.0/scripts/install_wheel_smoke.py +89 -0
  72. foghttp-0.4.0/scripts/wheel_smoke_runtime.py +161 -0
  73. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/client/mod.rs +16 -3
  74. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/client/telemetry/mod.rs +200 -15
  75. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/client/telemetry/tests.rs +146 -24
  76. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/client/write_timeout.rs +7 -2
  77. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/mod.rs +1 -0
  78. foghttp-0.4.0/src/core/telemetry.rs +1262 -0
  79. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/async_requests/active.rs +12 -0
  80. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/async_requests/spawn.rs +14 -6
  81. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/async_requests/stream_spawn.rs +18 -10
  82. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/mod.rs +79 -9
  83. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/streams/callback.rs +1 -1
  84. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/streams/registry.rs +1 -1
  85. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/streams/response.rs +20 -6
  86. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/streams/state.rs +49 -14
  87. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/streams/state_tests.rs +64 -0
  88. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/transport/buffered.rs +3 -2
  89. foghttp-0.4.0/src/py/client/transport/errors.rs +115 -0
  90. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/transport/request.rs +232 -18
  91. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/transport/response.rs +50 -7
  92. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/transport/streaming.rs +3 -2
  93. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/mod.rs +3 -0
  94. foghttp-0.4.0/src/py/telemetry.rs +86 -0
  95. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/lifecycle_debug_data.py +2 -1
  96. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/test_async_telemetry.py +14 -6
  97. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_lifecycle/test_async_client_lifecycle.py +6 -6
  98. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_lifecycle/test_sync_client_lifecycle.py +11 -12
  99. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_lifecycle/test_sync_close_race.py +2 -2
  100. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_multipart/sources.py +54 -0
  101. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_multipart/test_async_multipart.py +54 -6
  102. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_multipart/test_multipart_internals.py +73 -1
  103. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_multipart/test_sync_multipart.py +81 -12
  104. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_options/raw_options.py +1 -0
  105. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_query/test_async_query.py +2 -1
  106. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_query/test_sync_query.py +2 -1
  107. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_retry/test_async_retry.py +14 -0
  108. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_retry/test_attempt_trace.py +5 -0
  109. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_retry/test_sync_retry.py +21 -5
  110. foghttp-0.4.0/tests/client_telemetry/assertions.py +181 -0
  111. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_telemetry/constants.py +13 -0
  112. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_telemetry/models.py +13 -0
  113. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_telemetry/test_async_stream_hooks.py +54 -1
  114. foghttp-0.4.0/tests/client_telemetry/test_async_stream_telemetry.py +369 -0
  115. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_telemetry/test_async_telemetry.py +6 -1
  116. foghttp-0.4.0/tests/client_telemetry/test_concurrent_delivery.py +123 -0
  117. foghttp-0.4.0/tests/client_telemetry/test_event_contract.py +361 -0
  118. foghttp-0.4.0/tests/client_telemetry/test_native_lifecycle_events.py +586 -0
  119. foghttp-0.4.0/tests/client_telemetry/test_structured_logging.py +255 -0
  120. foghttp-0.4.0/tests/client_telemetry/test_sync_stream_telemetry.py +315 -0
  121. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_tls/test_tls_config.py +18 -2
  122. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_upload/test_streaming_upload.py +148 -32
  123. foghttp-0.4.0/tests/client_upload/test_upload_helpers.py +430 -0
  124. foghttp-0.4.0/tests/examples/test_imports.py +294 -0
  125. foghttp-0.4.0/tests/prometheus/test_integration.py +145 -0
  126. foghttp-0.4.0/tests/prometheus/test_optional_dependency.py +30 -0
  127. foghttp-0.4.0/tests/prometheus/test_stats_collector.py +115 -0
  128. foghttp-0.4.0/tests/prometheus/test_telemetry_sink.py +860 -0
  129. {foghttp-0.3.9 → foghttp-0.4.0}/tests/pyo3_boundary/test_raw_client_signatures.py +2 -0
  130. foghttp-0.4.0/tests/redirect_helpers.py +57 -0
  131. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_builder/test_body.py +34 -0
  132. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_builder/test_shortcuts.py +28 -14
  133. foghttp-0.4.0/tests/response_decompression/__init__.py +0 -0
  134. {foghttp-0.3.9 → foghttp-0.4.0}/tests/response_decompression/server.py +9 -6
  135. {foghttp-0.3.9 → foghttp-0.4.0}/tests/support/sync_http_server.py +12 -11
  136. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_client_options.py +1 -1
  137. foghttp-0.4.0/tests/test_public_api.py +91 -0
  138. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_raw_client.py +4 -0
  139. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_raw_client_errors.py +50 -8
  140. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_runtime_workers.py +1 -1
  141. foghttp-0.4.0/tests/test_transport_stats.py +72 -0
  142. foghttp-0.4.0/tests/types/__init__.py +0 -0
  143. {foghttp-0.3.9 → foghttp-0.4.0}/tests/types/test_policy_contracts.py +11 -15
  144. foghttp-0.4.0/tests/types/test_prometheus_contracts.py +21 -0
  145. foghttp-0.4.0/tests/types/test_request_response_protocols.py +72 -0
  146. foghttp-0.4.0/tests/types/test_structured_logging_contracts.py +11 -0
  147. foghttp-0.4.0/tests/types/test_telemetry_contracts.py +23 -0
  148. {foghttp-0.3.9 → foghttp-0.4.0}/uv.lock +17 -2
  149. foghttp-0.3.9/docs/telemetry.md +0 -186
  150. foghttp-0.3.9/docs/upload-types.md +0 -92
  151. foghttp-0.3.9/foghttp/_client/telemetry/dispatcher.py +0 -152
  152. foghttp-0.3.9/foghttp/stream_response/telemetry.py +0 -44
  153. foghttp-0.3.9/scripts/install_wheel_smoke.py +0 -120
  154. foghttp-0.3.9/src/py/client/transport/errors.rs +0 -81
  155. foghttp-0.3.9/tests/client_telemetry/assertions.py +0 -103
  156. foghttp-0.3.9/tests/client_telemetry/test_async_stream_telemetry.py +0 -115
  157. foghttp-0.3.9/tests/client_telemetry/test_concurrent_delivery.py +0 -49
  158. foghttp-0.3.9/tests/client_telemetry/test_event_contract.py +0 -66
  159. foghttp-0.3.9/tests/client_telemetry/test_sync_stream_telemetry.py +0 -148
  160. foghttp-0.3.9/tests/client_upload/test_upload_helpers.py +0 -174
  161. foghttp-0.3.9/tests/redirect_helpers.py +0 -50
  162. foghttp-0.3.9/tests/test_public_api.py +0 -64
  163. foghttp-0.3.9/tests/test_transport_stats.py +0 -70
  164. {foghttp-0.3.9 → foghttp-0.4.0}/.gitignore +0 -0
  165. {foghttp-0.3.9 → foghttp-0.4.0}/CODE_OF_CONDUCT.md +0 -0
  166. {foghttp-0.3.9 → foghttp-0.4.0}/LICENSE +0 -0
  167. {foghttp-0.3.9 → foghttp-0.4.0}/docs/auth.md +0 -0
  168. {foghttp-0.3.9 → foghttp-0.4.0}/docs/cookies.md +0 -0
  169. {foghttp-0.3.9 → foghttp-0.4.0}/docs/policy-hooks.md +0 -0
  170. {foghttp-0.3.9 → foghttp-0.4.0}/docs/proxies.md +0 -0
  171. {foghttp-0.3.9 → foghttp-0.4.0}/docs/pyo3-boundary.md +0 -0
  172. {foghttp-0.3.9 → foghttp-0.4.0}/docs/redirects.md +0 -0
  173. {foghttp-0.3.9 → foghttp-0.4.0}/docs/retries.md +0 -0
  174. {foghttp-0.3.9 → foghttp-0.4.0}/docs/ssrf.md +0 -0
  175. {foghttp-0.3.9 → foghttp-0.4.0}/docs/streaming.md +0 -0
  176. {foghttp-0.3.9 → foghttp-0.4.0}/docs/tls.md +0 -0
  177. {foghttp-0.3.9 → foghttp-0.4.0}/docs/use-cases.md +0 -0
  178. {foghttp-0.3.9 → foghttp-0.4.0}/examples/async_json_fanout.py +0 -0
  179. {foghttp-0.3.9 → foghttp-0.4.0}/examples/async_lifecycle_debug.py +0 -0
  180. {foghttp-0.3.9 → foghttp-0.4.0}/examples/async_resource_limits.py +0 -0
  181. {foghttp-0.3.9 → foghttp-0.4.0}/examples/async_streaming.py +0 -0
  182. {foghttp-0.3.9 → foghttp-0.4.0}/examples/authentication.py +0 -0
  183. {foghttp-0.3.9 → foghttp-0.4.0}/examples/compressed_response.py +0 -0
  184. {foghttp-0.3.9 → foghttp-0.4.0}/examples/cookies.py +0 -0
  185. {foghttp-0.3.9 → foghttp-0.4.0}/examples/multipart_uploads.py +0 -0
  186. {foghttp-0.3.9 → foghttp-0.4.0}/examples/prepared_requests.py +0 -0
  187. {foghttp-0.3.9 → foghttp-0.4.0}/examples/redirects.py +0 -0
  188. {foghttp-0.3.9 → foghttp-0.4.0}/examples/request_builder_compatibility.py +0 -0
  189. {foghttp-0.3.9 → foghttp-0.4.0}/examples/retry_policy.py +0 -0
  190. {foghttp-0.3.9 → foghttp-0.4.0}/examples/ssrf_policy.py +0 -0
  191. {foghttp-0.3.9 → foghttp-0.4.0}/examples/sync_json_api.py +0 -0
  192. {foghttp-0.3.9 → foghttp-0.4.0}/examples/sync_streaming.py +0 -0
  193. {foghttp-0.3.9 → foghttp-0.4.0}/examples/telemetry_hooks.py +0 -0
  194. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_auth_headers.py +0 -0
  195. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/__init__.py +0 -0
  196. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/asyncio_futures.py +0 -0
  197. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/auth.py +0 -0
  198. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/config.py +0 -0
  199. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/constants.py +0 -0
  200. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/lifecycle_debug.py +0 -0
  201. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/options.py +0 -0
  202. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/process.py +0 -0
  203. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/proxy/__init__.py +0 -0
  204. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/proxy/auth.py +0 -0
  205. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/proxy/constants.py +0 -0
  206. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/proxy/environment.py +0 -0
  207. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/proxy/models.py +0 -0
  208. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/proxy/no_proxy.py +0 -0
  209. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/proxy/no_proxy_rule.py +0 -0
  210. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/proxy/no_proxy_tokens.py +0 -0
  211. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/proxy/resolver.py +0 -0
  212. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/proxy/transport_policy.py +0 -0
  213. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/proxy/url_parsing.py +0 -0
  214. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/raw/__init__.py +0 -0
  215. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/raw/errors.py +0 -0
  216. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/raw/ssrf_errors.py +0 -0
  217. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/raw/timeout_errors.py +0 -0
  218. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/request_builder/__init__.py +0 -0
  219. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/request_builder/builder.py +0 -0
  220. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/request_builder/defaults.py +0 -0
  221. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/request_builder/header_policy.py +0 -0
  222. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/request_builder/merge.py +0 -0
  223. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/request_builder/models.py +0 -0
  224. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/response.py +0 -0
  225. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/retry_trace_mapping.py +0 -0
  226. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/runtime/__init__.py +0 -0
  227. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/runtime/constants.py +0 -0
  228. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/runtime/mode.py +0 -0
  229. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/runtime/validation.py +0 -0
  230. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/runtime/workers.py +0 -0
  231. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/stats.py +0 -0
  232. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/telemetry/clock.py +0 -0
  233. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/telemetry/retries.py +0 -0
  234. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/telemetry/url.py +0 -0
  235. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/tls.py +0 -0
  236. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/transport_requests.py +0 -0
  237. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_client/transport_snapshot_mapping.py +0 -0
  238. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_multipart/__init__.py +0 -0
  239. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_multipart/constants.py +0 -0
  240. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_multipart/content_type.py +0 -0
  241. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_multipart/encoding.py +0 -0
  242. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_multipart/fields.py +0 -0
  243. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_multipart/file_parts.py +0 -0
  244. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_multipart/iterators.py +0 -0
  245. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_multipart/length.py +0 -0
  246. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_multipart/models.py +0 -0
  247. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_multipart/normalize.py +0 -0
  248. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_multipart/parts.py +0 -0
  249. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_multipart/values.py +0 -0
  250. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_redaction.py +0 -0
  251. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_request_body.py +0 -0
  252. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_response/__init__.py +0 -0
  253. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_response/encoding.py +0 -0
  254. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_response/status.py +0 -0
  255. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_streaming/__init__.py +0 -0
  256. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_streaming/text/__init__.py +0 -0
  257. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_streaming/text/async_chunks.py +0 -0
  258. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_streaming/text/iterators.py +0 -0
  259. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_streaming/text/lines.py +0 -0
  260. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_streaming/text/sync_chunks.py +0 -0
  261. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_upload_body/__init__.py +0 -0
  262. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_upload_body/async_sending.py +0 -0
  263. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_upload_body/chunks.py +0 -0
  264. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_upload_body/file_source.py +0 -0
  265. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_upload_body/models.py +0 -0
  266. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_upload_body/normalize.py +0 -0
  267. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_upload_body/predicates.py +0 -0
  268. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_validation/__init__.py +0 -0
  269. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_validation/callables.py +0 -0
  270. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_validation/numeric.py +0 -0
  271. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/_validation/ssrf.py +0 -0
  272. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/auth.py +0 -0
  273. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/body.py +0 -0
  274. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/errors/base.py +0 -0
  275. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/errors/lifecycle.py +0 -0
  276. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/errors/response.py +0 -0
  277. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/errors/ssrf.py +0 -0
  278. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/errors/timeout.py +0 -0
  279. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/headers.py +0 -0
  280. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/lifecycle_debug.py +0 -0
  281. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/limits.py +0 -0
  282. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/methods.py +0 -0
  283. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/models.py +0 -0
  284. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/pool_diagnostics.py +0 -0
  285. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/py.typed +0 -0
  286. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/request.py +0 -0
  287. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/request_extensions.py +0 -0
  288. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/request_info.py +0 -0
  289. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/response.py +0 -0
  290. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/retry.py +0 -0
  291. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/retry_trace.py +0 -0
  292. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/ssrf.py +0 -0
  293. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/stats.py +0 -0
  294. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/status_codes/__init__.py +0 -0
  295. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/status_codes/client_error.py +0 -0
  296. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/status_codes/redirect.py +0 -0
  297. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/status_codes/server_error.py +0 -0
  298. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/status_codes/success.py +0 -0
  299. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/stream_response/__init__.py +0 -0
  300. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/stream_response/constants.py +0 -0
  301. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/stream_response/lifecycle_debug.py +0 -0
  302. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/stream_response/status.py +0 -0
  303. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/telemetry/config.py +0 -0
  304. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/telemetry/errors.py +0 -0
  305. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/telemetry/sinks.py +0 -0
  306. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/timeout_diagnostics.py +0 -0
  307. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/timeouts.py +0 -0
  308. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/tls.py +0 -0
  309. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/transport_state.py +0 -0
  310. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/transport_stats.py +0 -0
  311. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/types/http.py +0 -0
  312. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/types/multipart.py +0 -0
  313. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/types/request.py +0 -0
  314. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/types/streams.py +0 -0
  315. {foghttp-0.3.9 → foghttp-0.4.0}/foghttp/url.py +0 -0
  316. {foghttp-0.3.9 → foghttp-0.4.0}/logo.png +0 -0
  317. {foghttp-0.3.9 → foghttp-0.4.0}/scripts/check_all_position.py +0 -0
  318. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/client/body.rs +0 -0
  319. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/client/connection_limit.rs +0 -0
  320. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/client/proxy/authorization.rs +0 -0
  321. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/client/proxy/endpoint.rs +0 -0
  322. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/client/proxy/http.rs +0 -0
  323. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/client/proxy/mod.rs +0 -0
  324. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/client/proxy/tests.rs +0 -0
  325. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/client/proxy/tunnel.rs +0 -0
  326. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/client/ssrf.rs +0 -0
  327. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/headers/mod.rs +0 -0
  328. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/headers/request.rs +0 -0
  329. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/headers/response.rs +0 -0
  330. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/headers/tests.rs +0 -0
  331. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/method.rs +0 -0
  332. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/atomic.rs +0 -0
  333. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/buffered.rs +0 -0
  334. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/counters.rs +0 -0
  335. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/lifecycle.rs +0 -0
  336. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/mod.rs +0 -0
  337. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/origin/blocking.rs +0 -0
  338. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/origin/metrics.rs +0 -0
  339. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/origin/mod.rs +0 -0
  340. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/origin/registry.rs +0 -0
  341. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/origin/snapshots.rs +0 -0
  342. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/origin/tests.rs +0 -0
  343. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/origin/waiters.rs +0 -0
  344. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/snapshots.rs +0 -0
  345. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/telemetry.rs +0 -0
  346. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/metrics/tests.rs +0 -0
  347. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/numeric/mod.rs +0 -0
  348. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/numeric/tests.rs +0 -0
  349. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/cookies.rs +0 -0
  350. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/error.rs +0 -0
  351. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/mod.rs +0 -0
  352. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/pipeline.rs +0 -0
  353. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/proxy.rs +0 -0
  354. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/redirect/action.rs +0 -0
  355. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/redirect/headers.rs +0 -0
  356. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/redirect/method.rs +0 -0
  357. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/redirect/mod.rs +0 -0
  358. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/redirect/policy.rs +0 -0
  359. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/redirect/status.rs +0 -0
  360. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/redirect/tests.rs +0 -0
  361. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/redirect/utils.rs +0 -0
  362. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/request.rs +0 -0
  363. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/retry/tests.rs +0 -0
  364. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/retry.rs +0 -0
  365. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/ssrf.rs +0 -0
  366. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/policy/tests.rs +0 -0
  367. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/request.rs +0 -0
  368. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/response/body.rs +0 -0
  369. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/response/budget.rs +0 -0
  370. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/response/decompression.rs +0 -0
  371. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/response/mod.rs +0 -0
  372. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/tls/mod.rs +0 -0
  373. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/tls/tests.rs +0 -0
  374. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/url/constants.rs +0 -0
  375. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/url/mod.rs +0 -0
  376. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/url/origin.rs +0 -0
  377. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/url/scheme.rs +0 -0
  378. {foghttp-0.3.9 → foghttp-0.4.0}/src/core/url/tests.rs +0 -0
  379. {foghttp-0.3.9 → foghttp-0.4.0}/src/errors.rs +0 -0
  380. {foghttp-0.3.9 → foghttp-0.4.0}/src/lib.rs +0 -0
  381. {foghttp-0.3.9 → foghttp-0.4.0}/src/messages.rs +0 -0
  382. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/acquire/diagnostics.rs +0 -0
  383. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/acquire/gate.rs +0 -0
  384. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/acquire/mod.rs +0 -0
  385. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/acquire/origin.rs +0 -0
  386. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/acquire/pending.rs +0 -0
  387. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/acquire/permit.rs +0 -0
  388. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/acquire/telemetry.rs +0 -0
  389. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/acquire/tests.rs +0 -0
  390. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/async_requests/callback.rs +0 -0
  391. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/async_requests/mod.rs +0 -0
  392. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/async_requests/registry.rs +0 -0
  393. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/auth.rs +0 -0
  394. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/future.rs +0 -0
  395. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/lifecycle/mod.rs +0 -0
  396. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/lifecycle/tests.rs +0 -0
  397. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/options.rs +0 -0
  398. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/policy_hooks.rs +0 -0
  399. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/process.rs +0 -0
  400. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/runtime/constants.rs +0 -0
  401. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/runtime/mod.rs +0 -0
  402. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/runtime/shared.rs +0 -0
  403. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/runtime/tests.rs +0 -0
  404. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/runtime/workers.rs +0 -0
  405. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/streams/constants.rs +0 -0
  406. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/streams/mod.rs +0 -0
  407. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/streams/parts.rs +0 -0
  408. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/streams/read.rs +0 -0
  409. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/timeout_diagnostics.rs +0 -0
  410. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/transport/body.rs +0 -0
  411. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/transport/client.rs +0 -0
  412. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/transport/context.rs +0 -0
  413. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/transport/mod.rs +0 -0
  414. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/transport/retry.rs +0 -0
  415. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/transport/tests.rs +0 -0
  416. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/client/upload_body.rs +0 -0
  417. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/pool_diagnostics.rs +0 -0
  418. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/response.rs +0 -0
  419. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/retry.rs +0 -0
  420. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/stats.rs +0 -0
  421. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/transport_state.rs +0 -0
  422. {foghttp-0.3.9 → foghttp-0.4.0}/src/py/url.rs +0 -0
  423. {foghttp-0.3.9 → foghttp-0.4.0}/tests/__init__.py +0 -0
  424. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_auth/__init__.py +0 -0
  425. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_auth/test_async_auth.py +0 -0
  426. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_auth/test_contract.py +0 -0
  427. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_auth/test_sync_auth.py +0 -0
  428. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/__init__.py +0 -0
  429. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/conftest.py +0 -0
  430. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/constants.py +0 -0
  431. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/helpers.py +0 -0
  432. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/lifecycle_debug_actions.py +0 -0
  433. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/lifecycle_debug_assertions.py +0 -0
  434. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/lifecycle_debug_predicates.py +0 -0
  435. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/test_async_cancellation.py +0 -0
  436. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/test_async_lifecycle_debug_buffered.py +0 -0
  437. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/test_async_lifecycle_debug_messages.py +0 -0
  438. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/test_async_lifecycle_debug_streaming.py +0 -0
  439. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/test_async_lifecycle_debug_strict.py +0 -0
  440. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cancellation/test_asyncio_helpers.py +0 -0
  441. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cookies/__init__.py +0 -0
  442. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cookies/assertions.py +0 -0
  443. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cookies/test_async_cookies.py +0 -0
  444. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_cookies/test_sync_cookies.py +0 -0
  445. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_keepalive/__init__.py +0 -0
  446. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_keepalive/assertions.py +0 -0
  447. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_keepalive/conftest.py +0 -0
  448. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_keepalive/constants.py +0 -0
  449. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_keepalive/models.py +0 -0
  450. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_keepalive/server.py +0 -0
  451. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_keepalive/test_async_keepalive.py +0 -0
  452. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_keepalive/test_sync_keepalive.py +0 -0
  453. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_lifecycle/__init__.py +0 -0
  454. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_lifecycle/conftest.py +0 -0
  455. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_lifecycle/constants.py +0 -0
  456. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_lifecycle/fork_actions.py +0 -0
  457. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_lifecycle/helpers.py +0 -0
  458. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_lifecycle/test_fork_close_safety.py +0 -0
  459. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_lifecycle/test_fork_safety.py +0 -0
  460. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_lifecycle/test_fork_stream_safety.py +0 -0
  461. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_lifecycle/test_raw_client_lifecycle.py +0 -0
  462. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_lifecycle/test_sync_close_waits.py +0 -0
  463. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_multipart/__init__.py +0 -0
  464. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_multipart/assertions.py +0 -0
  465. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_multipart/models.py +0 -0
  466. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_multipart/test_request_builder.py +0 -0
  467. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_options/__init__.py +0 -0
  468. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_options/test_numeric_validation.py +0 -0
  469. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_options/test_raw_numeric_boundary.py +0 -0
  470. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_options/test_raw_retry_boundary.py +0 -0
  471. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_options/test_raw_ssrf_boundary.py +0 -0
  472. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_policy_hooks/__init__.py +0 -0
  473. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_policy_hooks/requests.py +0 -0
  474. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_policy_hooks/test_async_hooks.py +0 -0
  475. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_policy_hooks/test_contract.py +0 -0
  476. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_policy_hooks/test_sync_hooks.py +0 -0
  477. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_proxy/__init__.py +0 -0
  478. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_proxy/client_options.py +0 -0
  479. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_proxy/conftest.py +0 -0
  480. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_proxy/connect_proxy_server.py +0 -0
  481. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_proxy/environment.py +0 -0
  482. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_proxy/http_proxy_server.py +0 -0
  483. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_proxy/test_client_config.py +0 -0
  484. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_proxy/test_environment.py +0 -0
  485. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_proxy/test_http_proxy_transport.py +0 -0
  486. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_proxy/test_https_proxy_connect.py +0 -0
  487. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_proxy/test_no_proxy.py +0 -0
  488. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_proxy/test_proxy_models.py +0 -0
  489. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_query/__init__.py +0 -0
  490. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_query/assertions.py +0 -0
  491. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_query/constants.py +0 -0
  492. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_query/test_async_query_redirects.py +0 -0
  493. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_query/test_request_builder.py +0 -0
  494. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_query/test_sync_query_redirects.py +0 -0
  495. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/__init__.py +0 -0
  496. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/conftest.py +0 -0
  497. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/constants.py +0 -0
  498. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/helpers.py +0 -0
  499. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/test_async_connection_limits.py +0 -0
  500. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/test_async_global_limits.py +0 -0
  501. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/test_async_origin_limits.py +0 -0
  502. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/test_async_pool_diagnostics.py +0 -0
  503. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/test_async_response_body_limits.py +0 -0
  504. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/test_async_transport_state.py +0 -0
  505. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/test_diagnostic_snapshot_contract.py +0 -0
  506. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/test_sync_connection_limits.py +0 -0
  507. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/test_sync_global_limits.py +0 -0
  508. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/test_sync_origin_limits.py +0 -0
  509. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/test_sync_pool_diagnostics.py +0 -0
  510. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/test_sync_response_body_limits.py +0 -0
  511. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_resources/test_sync_transport_state.py +0 -0
  512. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_retry/__init__.py +0 -0
  513. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_retry/assertions.py +0 -0
  514. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_retry/conftest.py +0 -0
  515. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_retry/constants.py +0 -0
  516. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_retry/models.py +0 -0
  517. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_retry/server.py +0 -0
  518. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_retry/sources.py +0 -0
  519. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_retry/test_auth_refresh.py +0 -0
  520. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_retry/test_policy_config.py +0 -0
  521. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_ssrf/__init__.py +0 -0
  522. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_ssrf/test_async_ssrf.py +0 -0
  523. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_ssrf/test_policy_config.py +0 -0
  524. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_ssrf/test_sync_ssrf.py +0 -0
  525. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_streaming/__init__.py +0 -0
  526. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_streaming/conftest.py +0 -0
  527. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_streaming/constants.py +0 -0
  528. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_streaming/server.py +0 -0
  529. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_streaming/stream_readers.py +0 -0
  530. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_streaming/test_async_streaming.py +0 -0
  531. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_streaming/test_async_streaming_text_lines.py +0 -0
  532. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_streaming/test_streaming_text_decoding.py +0 -0
  533. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_streaming/test_sync_streaming.py +0 -0
  534. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_streaming/test_sync_streaming_text_lines.py +0 -0
  535. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_streaming/text_decoding_sources.py +0 -0
  536. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_telemetry/__init__.py +0 -0
  537. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_telemetry/conftest.py +0 -0
  538. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_telemetry/test_sync_telemetry.py +0 -0
  539. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_timeouts/__init__.py +0 -0
  540. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_timeouts/conftest.py +0 -0
  541. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_timeouts/constants.py +0 -0
  542. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_timeouts/helpers.py +0 -0
  543. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_timeouts/test_async_timeouts.py +0 -0
  544. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_timeouts/test_sync_timeouts.py +0 -0
  545. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_tls/__init__.py +0 -0
  546. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_tls/assertions.py +0 -0
  547. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_tls/certificates.py +0 -0
  548. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_tls/conftest.py +0 -0
  549. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_tls/constants.py +0 -0
  550. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_tls/handshake_server.py +0 -0
  551. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_tls/models.py +0 -0
  552. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_tls/server.py +0 -0
  553. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_tls/test_async_tls.py +0 -0
  554. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_tls/test_async_tls_redirects.py +0 -0
  555. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_tls/test_sync_tls.py +0 -0
  556. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_tls/test_sync_tls_redirects.py +0 -0
  557. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_transport/__init__.py +0 -0
  558. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_transport/models.py +0 -0
  559. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_transport/test_transport_adapter.py +0 -0
  560. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_upload/__init__.py +0 -0
  561. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_upload/helpers.py +0 -0
  562. {foghttp-0.3.9 → foghttp-0.4.0}/tests/client_warning_actions.py +0 -0
  563. {foghttp-0.3.9 → foghttp-0.4.0}/tests/conftest.py +0 -0
  564. {foghttp-0.3.9/tests/fault_injection → foghttp-0.4.0/tests/examples}/__init__.py +0 -0
  565. {foghttp-0.3.9/tests/network_errors → foghttp-0.4.0/tests/fault_injection}/__init__.py +0 -0
  566. {foghttp-0.3.9 → foghttp-0.4.0}/tests/fault_injection/conftest.py +0 -0
  567. {foghttp-0.3.9 → foghttp-0.4.0}/tests/fault_injection/constants.py +0 -0
  568. {foghttp-0.3.9 → foghttp-0.4.0}/tests/fault_injection/models.py +0 -0
  569. {foghttp-0.3.9 → foghttp-0.4.0}/tests/fault_injection/protocol.py +0 -0
  570. {foghttp-0.3.9 → foghttp-0.4.0}/tests/fault_injection/responses.py +0 -0
  571. {foghttp-0.3.9 → foghttp-0.4.0}/tests/fault_injection/server.py +0 -0
  572. {foghttp-0.3.9 → foghttp-0.4.0}/tests/fault_injection/state.py +0 -0
  573. {foghttp-0.3.9 → foghttp-0.4.0}/tests/fault_injection/state_assertions.py +0 -0
  574. {foghttp-0.3.9 → foghttp-0.4.0}/tests/fault_injection/test_async_fault_injection.py +0 -0
  575. {foghttp-0.3.9 → foghttp-0.4.0}/tests/fault_injection/test_async_socket_shutdown.py +0 -0
  576. {foghttp-0.3.9 → foghttp-0.4.0}/tests/fault_injection/test_sync_fault_injection.py +0 -0
  577. {foghttp-0.3.9 → foghttp-0.4.0}/tests/fault_injection/test_sync_socket_shutdown.py +0 -0
  578. {foghttp-0.3.9 → foghttp-0.4.0}/tests/fault_injection/timeout_assertions.py +0 -0
  579. {foghttp-0.3.9 → foghttp-0.4.0}/tests/fault_injection/transport_waiters.py +0 -0
  580. {foghttp-0.3.9 → foghttp-0.4.0}/tests/http_body_scenarios.py +0 -0
  581. {foghttp-0.3.9/tests/request_builder → foghttp-0.4.0/tests/network_errors}/__init__.py +0 -0
  582. {foghttp-0.3.9 → foghttp-0.4.0}/tests/network_errors/conftest.py +0 -0
  583. {foghttp-0.3.9 → foghttp-0.4.0}/tests/network_errors/constants.py +0 -0
  584. {foghttp-0.3.9 → foghttp-0.4.0}/tests/network_errors/helpers.py +0 -0
  585. {foghttp-0.3.9 → foghttp-0.4.0}/tests/network_errors/test_async_network_errors.py +0 -0
  586. {foghttp-0.3.9 → foghttp-0.4.0}/tests/network_errors/test_sync_network_errors.py +0 -0
  587. {foghttp-0.3.9/tests/response_decompression → foghttp-0.4.0/tests/prometheus}/__init__.py +0 -0
  588. {foghttp-0.3.9 → foghttp-0.4.0}/tests/pyo3_boundary/__init__.py +0 -0
  589. {foghttp-0.3.9 → foghttp-0.4.0}/tests/pyo3_boundary/async_future_server.py +0 -0
  590. {foghttp-0.3.9 → foghttp-0.4.0}/tests/pyo3_boundary/conftest.py +0 -0
  591. {foghttp-0.3.9 → foghttp-0.4.0}/tests/pyo3_boundary/constants.py +0 -0
  592. {foghttp-0.3.9 → foghttp-0.4.0}/tests/pyo3_boundary/gil_progress.py +0 -0
  593. {foghttp-0.3.9 → foghttp-0.4.0}/tests/pyo3_boundary/test_async_future_boundary.py +0 -0
  594. {foghttp-0.3.9 → foghttp-0.4.0}/tests/pyo3_boundary/test_sync_gil_boundary.py +0 -0
  595. {foghttp-0.3.9 → foghttp-0.4.0}/tests/pyo3_boundary/thread_worker.py +0 -0
  596. {foghttp-0.3.9/tests/types → foghttp-0.4.0/tests/request_builder}/__init__.py +0 -0
  597. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_builder/encoding_property_helpers.py +0 -0
  598. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_builder/test_base_url.py +0 -0
  599. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_builder/test_default_headers.py +0 -0
  600. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_builder/test_default_params.py +0 -0
  601. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_builder/test_encoding_properties.py +0 -0
  602. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_builder/test_extensions.py +0 -0
  603. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_builder/test_header_policy.py +0 -0
  604. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_builder/test_headers.py +0 -0
  605. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_builder/test_merge_contract.py +0 -0
  606. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_builder/test_no_mutation.py +0 -0
  607. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_builder/test_parity.py +0 -0
  608. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_builder/test_query_params.py +0 -0
  609. {foghttp-0.3.9 → foghttp-0.4.0}/tests/request_factories.py +0 -0
  610. {foghttp-0.3.9 → foghttp-0.4.0}/tests/response_decompression/conftest.py +0 -0
  611. {foghttp-0.3.9 → foghttp-0.4.0}/tests/response_decompression/constants.py +0 -0
  612. {foghttp-0.3.9 → foghttp-0.4.0}/tests/response_decompression/helpers.py +0 -0
  613. {foghttp-0.3.9 → foghttp-0.4.0}/tests/response_decompression/payloads.py +0 -0
  614. {foghttp-0.3.9 → foghttp-0.4.0}/tests/response_decompression/test_async_response_decompression.py +0 -0
  615. {foghttp-0.3.9 → foghttp-0.4.0}/tests/response_decompression/test_sync_response_decompression.py +0 -0
  616. {foghttp-0.3.9 → foghttp-0.4.0}/tests/support/__init__.py +0 -0
  617. {foghttp-0.3.9 → foghttp-0.4.0}/tests/support/async_http_server.py +0 -0
  618. {foghttp-0.3.9 → foghttp-0.4.0}/tests/support/http_routes.py +0 -0
  619. {foghttp-0.3.9 → foghttp-0.4.0}/tests/support/raw_responses.py +0 -0
  620. {foghttp-0.3.9 → foghttp-0.4.0}/tests/support/timeout_diagnostics.py +0 -0
  621. {foghttp-0.3.9 → foghttp-0.4.0}/tests/support/transport_state.py +0 -0
  622. {foghttp-0.3.9 → foghttp-0.4.0}/tests/support/transport_stats.py +0 -0
  623. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_async_client.py +0 -0
  624. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_async_redirects.py +0 -0
  625. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_async_response.py +0 -0
  626. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_headers.py +0 -0
  627. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_query_params.py +0 -0
  628. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_redaction.py +0 -0
  629. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_request_extensions.py +0 -0
  630. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_request_model.py +0 -0
  631. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_response_encoding.py +0 -0
  632. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_response_flags.py +0 -0
  633. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_sync_client.py +0 -0
  634. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_sync_redirects.py +0 -0
  635. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_sync_response.py +0 -0
  636. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_transport_stats_waiters.py +0 -0
  637. {foghttp-0.3.9 → foghttp-0.4.0}/tests/test_url.py +0 -0
  638. {foghttp-0.3.9 → foghttp-0.4.0}/tests/types/test_auth_contracts.py +0 -0
  639. {foghttp-0.3.9 → foghttp-0.4.0}/tests/types/test_request_extensions_contracts.py +0 -0
  640. {foghttp-0.3.9 → foghttp-0.4.0}/tests/types/test_retry_trace_contracts.py +0 -0
  641. {foghttp-0.3.9 → foghttp-0.4.0}/tests/types/test_upload_contracts.py +0 -0
@@ -53,3 +53,7 @@ per-file-ignores =
53
53
  # Explicit guard/mapping functions are clearer as direct raises than as indirection tables.
54
54
  foghttp/_client/options.py: WPS238
55
55
  foghttp/_client/raw/errors.py: WPS238
56
+ # Tests require descriptive names, rich scenario setup, repeated fixtures/data,
57
+ # exact-value assertions, local doubles and explicit cleanup. Ruff's ALL profile
58
+ # owns their general correctness checks; Wemake still enforces all other rules.
59
+ tests/**: WPS100, WPS114, WPS118, WPS122, WPS201, WPS202, WPS204, WPS210, WPS211, WPS212, WPS213, WPS214, WPS217, WPS218, WPS219, WPS220, WPS221, WPS222, WPS223, WPS226, WPS228, WPS229, WPS230, WPS231, WPS232, WPS235, WPS237, WPS243, WPS324, WPS328, WPS336, WPS338, WPS342, WPS353, WPS358, WPS362, WPS414, WPS420, WPS430, WPS431, WPS432, WPS435, WPS441, WPS459, WPS476, WPS478, WPS501, WPS504, WPS505, WPS516, WPS520, WPS527
@@ -0,0 +1,14 @@
1
+ version: 2
2
+ updates:
3
+ # Zero disables routine version PRs, not repository-level security updates.
4
+ - package-ecosystem: "cargo"
5
+ directory: "/"
6
+ schedule:
7
+ interval: "weekly"
8
+ open-pull-requests-limit: 0
9
+
10
+ - package-ecosystem: "uv"
11
+ directory: "/"
12
+ schedule:
13
+ interval: "weekly"
14
+ open-pull-requests-limit: 0
@@ -61,6 +61,29 @@ jobs:
61
61
  - name: Run Rust tests
62
62
  run: cargo test --all-targets
63
63
 
64
+ rust-msrv:
65
+ name: Rust MSRV (1.88)
66
+ runs-on: ubuntu-latest
67
+ timeout-minutes: 20
68
+ steps:
69
+ - name: Checkout
70
+ uses: actions/checkout@v4
71
+
72
+ - name: Set up Rust MSRV
73
+ uses: dtolnay/rust-toolchain@1.88.0
74
+
75
+ - name: Cache Rust
76
+ uses: Swatinem/rust-cache@v2
77
+
78
+ - name: Show Rust version
79
+ run: rustc --version
80
+
81
+ - name: Run Rust tests at MSRV
82
+ run: cargo test --locked --all-targets
83
+
84
+ - name: Check release features at MSRV
85
+ run: cargo check --locked --all-targets --all-features
86
+
64
87
  abi3-wheel:
65
88
  name: Build and audit abi3 wheel
66
89
  runs-on: ubuntu-latest
@@ -121,7 +144,7 @@ jobs:
121
144
  path: dist
122
145
 
123
146
  - name: Smoke test wheel install
124
- run: python scripts/install_wheel_smoke.py --dist-dir dist
147
+ run: python -I -S scripts/install_wheel_smoke.py --dist-dir dist
125
148
 
126
149
  tests:
127
150
  name: Tests (Python ${{ matrix.python-version }})
@@ -108,7 +108,7 @@ jobs:
108
108
  path: dist
109
109
 
110
110
  - name: Smoke test wheel install
111
- run: python scripts/install_wheel_smoke.py --dist-dir dist
111
+ run: python -I -S scripts/install_wheel_smoke.py --dist-dir dist
112
112
 
113
113
  macos-wheels:
114
114
  name: Build macOS wheel (${{ matrix.platform.name }})
@@ -179,7 +179,7 @@ jobs:
179
179
  path: dist
180
180
 
181
181
  - name: Smoke test wheel install
182
- run: python scripts/install_wheel_smoke.py --dist-dir dist
182
+ run: python -I -S scripts/install_wheel_smoke.py --dist-dir dist
183
183
 
184
184
  windows-wheels:
185
185
  name: Build Windows wheel (x64)
@@ -236,7 +236,7 @@ jobs:
236
236
  path: dist
237
237
 
238
238
  - name: Smoke test wheel install
239
- run: python scripts/install_wheel_smoke.py --dist-dir dist
239
+ run: python -I -S scripts/install_wheel_smoke.py --dist-dir dist
240
240
 
241
241
  audit-wheels:
242
242
  name: Audit stable ABI wheels
@@ -17,7 +17,7 @@ repos:
17
17
  - "--autofix"
18
18
  - id: check-json
19
19
  - id: check-yaml
20
- exclude: ^\.github/
20
+ exclude: ^\.github/workflows/
21
21
  - id: check-toml
22
22
  - id: end-of-file-fixer
23
23
  - id: trailing-whitespace
@@ -53,9 +53,12 @@ repos:
53
53
  rev: "7.3.0"
54
54
  hooks:
55
55
  - id: flake8
56
+ name: wemake
56
57
  additional_dependencies:
57
58
  - wemake-python-styleguide==1.6.2
58
- files: ^foghttp/.*\.py$
59
+ args: [foghttp, tests]
60
+ always_run: true
61
+ pass_filenames: false
59
62
 
60
63
  - repo: https://github.com/pre-commit/mirrors-mypy
61
64
  rev: v2.1.0
@@ -64,6 +67,7 @@ repos:
64
67
  additional_dependencies:
65
68
  - no_implicit_optional
66
69
  - orjson>=3.11,<4
70
+ - prometheus-client>=0.25,<1
67
71
  - typing-extensions>=4.3.0,<5
68
72
  args: [--config-file=pyproject.toml, --install-types, --non-interactive]
69
73
  files: ^(foghttp|tests/types)/.*\.pyi?$
@@ -2,11 +2,11 @@
2
2
 
3
3
  Thank you for taking the time to improve FogHTTP.
4
4
 
5
- FogHTTP is an early-stage HTTP client for Python with a Rust transport core. The
6
- project is intentionally focused: it is built for controlled service-to-service
7
- HTTP workloads where explicit lifecycle, predictable resource usage,
8
- cancellation, redirect safety, TLS trust boundaries, and request pressure
9
- visibility matter more than broad browser-like feature parity.
5
+ FogHTTP is a focused pre-`0.5` HTTP client for Python with a Rust transport
6
+ core. The project is intentionally focused: it is built for controlled
7
+ service-to-service HTTP workloads where explicit lifecycle, predictable
8
+ resource usage, cancellation, redirect safety, TLS trust boundaries, and
9
+ request pressure visibility matter more than broad browser-like feature parity.
10
10
 
11
11
  The project values engineers who are interested in serious implementation work:
12
12
  debugging, measurement, API design, resource ownership, security boundaries, and
@@ -150,8 +150,7 @@ uv run --extra dev --with "maturin>=1.7,<2" maturin develop
150
150
  Run the Python test suite with coverage:
151
151
 
152
152
  ```bash
153
- uv run --extra dev coverage run -m pytest
154
- uv run --extra dev coverage report -m
153
+ uv run --extra dev coverage run -m pytest && uv run --extra dev coverage report -m
155
154
  ```
156
155
 
157
156
  Run the project checks:
@@ -160,6 +159,13 @@ Run the project checks:
160
159
  uv run --extra dev pre-commit run --all-files --show-diff-on-failure
161
160
  ```
162
161
 
162
+ Check that every top-level `examples/*.py` file still imports without running
163
+ its network-dependent `main` block:
164
+
165
+ ```bash
166
+ uv run --extra dev pytest -q tests/examples
167
+ ```
168
+
163
169
  When changing Rust code, also run the relevant Rust checks:
164
170
 
165
171
  ```bash
@@ -210,6 +216,13 @@ Tests should prove observable behavior. For lifecycle, cancellation, metrics,
210
216
  redirects, TLS, and resource-limit changes, assert on public state, errors, or
211
217
  diagnostics where possible.
212
218
 
219
+ Any future convenience helper must satisfy the normative
220
+ [explicit client ownership contract](docs/lifecycle.md#explicit-client-ownership).
221
+ Treat its lifecycle and test matrix as required review gates, including sync
222
+ and async coverage where applicable, runtime isolation, borrowed-client
223
+ usability, streaming cleanup, and terminal quiescence without resource leaks.
224
+ Do not introduce a hidden global client or shared connection pool.
225
+
213
226
  ## Commit Messages
214
227
 
215
228
  Use Conventional Commits:
@@ -240,10 +253,13 @@ Before requesting review, please check:
240
253
  - Python tests pass
241
254
  - Rust tests pass when Rust code changed
242
255
  - pre-commit passes
256
+ - every top-level `examples/*.py` file passes the import smoke check
243
257
  - public API changes update types, docs, and examples
244
258
  - security-sensitive behavior has regression tests
245
259
  - new errors and diagnostics avoid leaking secrets
246
260
  - limitations are documented honestly if the feature is partial
261
+ - release pull requests complete every evidence field for the example and
262
+ benchmark smoke gates in [docs/benchmarks.md](./docs/benchmarks.md)
247
263
 
248
264
  The project is small on purpose. A contribution that preserves that clarity is
249
265
  usually easier to merge than a broad change that tries to solve several future
@@ -122,7 +122,7 @@ dependencies = [
122
122
 
123
123
  [[package]]
124
124
  name = "foghttp"
125
- version = "0.3.9"
125
+ version = "0.4.0"
126
126
  dependencies = [
127
127
  "brotli",
128
128
  "bytes",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "foghttp"
3
- version = "0.3.9"
3
+ version = "0.4.0"
4
4
  description = "Observable Rust-powered HTTP client for Python services."
5
5
  edition = "2021"
6
6
  rust-version = "1.88"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: foghttp
3
- Version: 0.3.9
3
+ Version: 0.4.0
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Framework :: AsyncIO
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -18,12 +18,15 @@ Requires-Dist: faker>=33 ; extra == 'dev'
18
18
  Requires-Dist: hypothesis>=6,<7 ; extra == 'dev'
19
19
  Requires-Dist: mypy>=2.1,<3 ; extra == 'dev'
20
20
  Requires-Dist: pre-commit>=4,<5 ; extra == 'dev'
21
+ Requires-Dist: prometheus-client>=0.25,<1 ; extra == 'dev'
21
22
  Requires-Dist: pytest>=8 ; extra == 'dev'
22
23
  Requires-Dist: pytest-asyncio>=0.23 ; extra == 'dev'
23
24
  Requires-Dist: pytest-timeout>=2,<3 ; extra == 'dev'
24
25
  Requires-Dist: ruff>=0.15,<0.16 ; extra == 'dev'
25
26
  Requires-Dist: trustme>=1.2 ; extra == 'dev'
27
+ Requires-Dist: prometheus-client>=0.25,<1 ; extra == 'prometheus'
26
28
  Provides-Extra: dev
29
+ Provides-Extra: prometheus
27
30
  License-File: LICENSE
28
31
  Summary: Observable Rust-powered HTTP client for Python services.
29
32
  Keywords: asyncio,http,http-client,hyper,rust
@@ -51,8 +54,8 @@ Project-URL: Security, https://github.com/AmberFog/foghttp/blob/main/SECURITY.md
51
54
  Rust-powered HTTP client for Python with sync and asyncio APIs.
52
55
  </p>
53
56
 
54
- FogHTTP is an early MVP HTTP client. The public API is Python-first, while the
55
- transport core is implemented in Rust on top of `hyper`.
57
+ FogHTTP is a focused pre-`0.5` HTTP client. The public API is Python-first,
58
+ while the transport core is implemented in Rust on top of `hyper`.
56
59
 
57
60
  FogHTTP is positioned as an observable, high-concurrency Rust-powered transport
58
61
  for Python services. It is built for controlled service-to-service HTTP
@@ -60,6 +63,13 @@ workloads where explicit lifecycle, predictable resource usage, cancellation,
60
63
  redirect history, and request backpressure visibility matter more than
61
64
  browser-like feature parity.
62
65
 
66
+ The supported production path is an explicitly owned `Client` or
67
+ `AsyncClient`, normally reused for one application lifecycle. FogHTTP does not
68
+ create a hidden module-level HTTP client or shared connection pool. See
69
+ [Client lifecycle](https://github.com/AmberFog/foghttp/blob/main/docs/lifecycle.md#explicit-client-ownership)
70
+ for the ownership contract and the limits any future convenience helpers must
71
+ preserve.
72
+
63
73
  Until version `0.5.0`, backward compatibility is not guaranteed. I will still
64
74
  try to keep public interfaces stable and avoid unnecessary breaking changes.
65
75
 
@@ -72,8 +82,11 @@ try to keep public interfaces stable and avoid unnecessary breaking changes.
72
82
  - bounded global/per-origin request backpressure, FIFO pending-acquire limits,
73
83
  explicit HTTP/1.1 connection caps, and per-origin pressure diagnostics
74
84
  - typed telemetry event hooks with redacted request/response lifecycle events
85
+ - opt-in structured lifecycle debug logging through standard Python `logging`
75
86
  - versioned telemetry snapshots that separate alert-oriented stats from
76
87
  diagnostic dump APIs
88
+ - optional Prometheus/OpenMetrics adapters with bounded labels and no
89
+ diagnostic-dump alert series
77
90
  - opt-in Rust-owned retries with replayability gates and immutable attempt
78
91
  traces, plus opt-in per-hop and post-DNS SSRF destination controls
79
92
  - opt-in async lifecycle debug snapshots for staging and tests
@@ -88,6 +101,12 @@ try to keep public interfaces stable and avoid unnecessary breaking changes.
88
101
  pip install foghttp
89
102
  ```
90
103
 
104
+ Prometheus/OpenMetrics integration is an optional extra:
105
+
106
+ ```bash
107
+ pip install "foghttp[prometheus]"
108
+ ```
109
+
91
110
  Runtime requirements:
92
111
 
93
112
  - Python `>=3.11`
@@ -168,8 +187,9 @@ async with foghttp.AsyncClient() as client:
168
187
  - bounded global and per-origin request slots with a bounded FIFO pending queue
169
188
  - opt-in global/per-origin HTTP/1.1 connection caps with separate connection
170
189
  acquire pressure and idle lifecycle diagnostics
171
- - opt-in typed telemetry event hooks for request, redirect, response headers,
172
- response body, and request completion lifecycle
190
+ - opt-in typed telemetry event hooks for pool acquire, HTTP/1 connection,
191
+ request, redirect, response headers, response body, and request completion
192
+ lifecycle
173
193
  - opt-in typed transport policy hooks for lightweight request admission and
174
194
  response-head checks without default-path Python callbacks
175
195
  - opt-in Rust-owned retry policy for selected statuses and pre-header network
@@ -199,11 +219,13 @@ async with foghttp.AsyncClient() as client:
199
219
  - [Client lifecycle](https://github.com/AmberFog/foghttp/blob/main/docs/lifecycle.md)
200
220
  - [Packaging and Python compatibility](https://github.com/AmberFog/foghttp/blob/main/docs/packaging.md)
201
221
  - [Timeout model](https://github.com/AmberFog/foghttp/blob/main/docs/timeouts.md)
222
+ - [Public typing contracts](https://github.com/AmberFog/foghttp/blob/main/docs/typing.md)
202
223
  - [Upload typing contracts](https://github.com/AmberFog/foghttp/blob/main/docs/upload-types.md)
203
224
  - [Transport policy hooks](https://github.com/AmberFog/foghttp/blob/main/docs/policy-hooks.md)
204
225
  - [Retry policy](https://github.com/AmberFog/foghttp/blob/main/docs/retries.md)
205
226
  - [SSRF protection](https://github.com/AmberFog/foghttp/blob/main/docs/ssrf.md)
206
227
  - [Telemetry contract](https://github.com/AmberFog/foghttp/blob/main/docs/telemetry.md)
228
+ - [Prometheus and OpenMetrics](https://github.com/AmberFog/foghttp/blob/main/docs/prometheus.md)
207
229
  - [Response streaming](https://github.com/AmberFog/foghttp/blob/main/docs/streaming.md)
208
230
  - [Proxy and trust_env](https://github.com/AmberFog/foghttp/blob/main/docs/proxies.md)
209
231
  - [TLS trust](https://github.com/AmberFog/foghttp/blob/main/docs/tls.md)
@@ -239,8 +261,7 @@ Development requires a Rust toolchain with `cargo` available in `PATH`.
239
261
 
240
262
  ```bash
241
263
  uv run --extra dev --with "maturin>=1.7,<2" maturin develop --locked --skip-install
242
- uv run --extra dev coverage run -m pytest
243
- uv run --extra dev coverage report -m
264
+ uv run --extra dev coverage run -m pytest && uv run --extra dev coverage report -m
244
265
  uv run --extra dev pre-commit run --all-files --show-diff-on-failure
245
266
  ```
246
267
 
@@ -8,8 +8,8 @@
8
8
  Rust-powered HTTP client for Python with sync and asyncio APIs.
9
9
  </p>
10
10
 
11
- FogHTTP is an early MVP HTTP client. The public API is Python-first, while the
12
- transport core is implemented in Rust on top of `hyper`.
11
+ FogHTTP is a focused pre-`0.5` HTTP client. The public API is Python-first,
12
+ while the transport core is implemented in Rust on top of `hyper`.
13
13
 
14
14
  FogHTTP is positioned as an observable, high-concurrency Rust-powered transport
15
15
  for Python services. It is built for controlled service-to-service HTTP
@@ -17,6 +17,13 @@ workloads where explicit lifecycle, predictable resource usage, cancellation,
17
17
  redirect history, and request backpressure visibility matter more than
18
18
  browser-like feature parity.
19
19
 
20
+ The supported production path is an explicitly owned `Client` or
21
+ `AsyncClient`, normally reused for one application lifecycle. FogHTTP does not
22
+ create a hidden module-level HTTP client or shared connection pool. See
23
+ [Client lifecycle](https://github.com/AmberFog/foghttp/blob/main/docs/lifecycle.md#explicit-client-ownership)
24
+ for the ownership contract and the limits any future convenience helpers must
25
+ preserve.
26
+
20
27
  Until version `0.5.0`, backward compatibility is not guaranteed. I will still
21
28
  try to keep public interfaces stable and avoid unnecessary breaking changes.
22
29
 
@@ -29,8 +36,11 @@ try to keep public interfaces stable and avoid unnecessary breaking changes.
29
36
  - bounded global/per-origin request backpressure, FIFO pending-acquire limits,
30
37
  explicit HTTP/1.1 connection caps, and per-origin pressure diagnostics
31
38
  - typed telemetry event hooks with redacted request/response lifecycle events
39
+ - opt-in structured lifecycle debug logging through standard Python `logging`
32
40
  - versioned telemetry snapshots that separate alert-oriented stats from
33
41
  diagnostic dump APIs
42
+ - optional Prometheus/OpenMetrics adapters with bounded labels and no
43
+ diagnostic-dump alert series
34
44
  - opt-in Rust-owned retries with replayability gates and immutable attempt
35
45
  traces, plus opt-in per-hop and post-DNS SSRF destination controls
36
46
  - opt-in async lifecycle debug snapshots for staging and tests
@@ -45,6 +55,12 @@ try to keep public interfaces stable and avoid unnecessary breaking changes.
45
55
  pip install foghttp
46
56
  ```
47
57
 
58
+ Prometheus/OpenMetrics integration is an optional extra:
59
+
60
+ ```bash
61
+ pip install "foghttp[prometheus]"
62
+ ```
63
+
48
64
  Runtime requirements:
49
65
 
50
66
  - Python `>=3.11`
@@ -125,8 +141,9 @@ async with foghttp.AsyncClient() as client:
125
141
  - bounded global and per-origin request slots with a bounded FIFO pending queue
126
142
  - opt-in global/per-origin HTTP/1.1 connection caps with separate connection
127
143
  acquire pressure and idle lifecycle diagnostics
128
- - opt-in typed telemetry event hooks for request, redirect, response headers,
129
- response body, and request completion lifecycle
144
+ - opt-in typed telemetry event hooks for pool acquire, HTTP/1 connection,
145
+ request, redirect, response headers, response body, and request completion
146
+ lifecycle
130
147
  - opt-in typed transport policy hooks for lightweight request admission and
131
148
  response-head checks without default-path Python callbacks
132
149
  - opt-in Rust-owned retry policy for selected statuses and pre-header network
@@ -156,11 +173,13 @@ async with foghttp.AsyncClient() as client:
156
173
  - [Client lifecycle](https://github.com/AmberFog/foghttp/blob/main/docs/lifecycle.md)
157
174
  - [Packaging and Python compatibility](https://github.com/AmberFog/foghttp/blob/main/docs/packaging.md)
158
175
  - [Timeout model](https://github.com/AmberFog/foghttp/blob/main/docs/timeouts.md)
176
+ - [Public typing contracts](https://github.com/AmberFog/foghttp/blob/main/docs/typing.md)
159
177
  - [Upload typing contracts](https://github.com/AmberFog/foghttp/blob/main/docs/upload-types.md)
160
178
  - [Transport policy hooks](https://github.com/AmberFog/foghttp/blob/main/docs/policy-hooks.md)
161
179
  - [Retry policy](https://github.com/AmberFog/foghttp/blob/main/docs/retries.md)
162
180
  - [SSRF protection](https://github.com/AmberFog/foghttp/blob/main/docs/ssrf.md)
163
181
  - [Telemetry contract](https://github.com/AmberFog/foghttp/blob/main/docs/telemetry.md)
182
+ - [Prometheus and OpenMetrics](https://github.com/AmberFog/foghttp/blob/main/docs/prometheus.md)
164
183
  - [Response streaming](https://github.com/AmberFog/foghttp/blob/main/docs/streaming.md)
165
184
  - [Proxy and trust_env](https://github.com/AmberFog/foghttp/blob/main/docs/proxies.md)
166
185
  - [TLS trust](https://github.com/AmberFog/foghttp/blob/main/docs/tls.md)
@@ -196,7 +215,6 @@ Development requires a Rust toolchain with `cargo` available in `PATH`.
196
215
 
197
216
  ```bash
198
217
  uv run --extra dev --with "maturin>=1.7,<2" maturin develop --locked --skip-install
199
- uv run --extra dev coverage run -m pytest
200
- uv run --extra dev coverage report -m
218
+ uv run --extra dev coverage run -m pytest && uv run --extra dev coverage report -m
201
219
  uv run --extra dev pre-commit run --all-files --show-diff-on-failure
202
220
  ```
@@ -99,6 +99,23 @@ FogHTTP currently makes several conservative choices:
99
99
 
100
100
  Security reports that weaken any of these guarantees are high priority.
101
101
 
102
+ ## Dependency Monitoring
103
+
104
+ GitHub's dependency graph and Dependabot alerts monitor the Cargo and Python
105
+ dependencies on `main`. Dependabot security updates are enabled for both
106
+ ecosystems. The repository configuration uses `cargo` for `Cargo.toml` and
107
+ `Cargo.lock`, and `uv` for `pyproject.toml` and `uv.lock`.
108
+
109
+ Routine Dependabot version-update pull requests are intentionally disabled by
110
+ setting `open-pull-requests-limit: 0` in `.github/dependabot.yml`. This does not
111
+ disable security updates. A separate maintenance decision must define the
112
+ cadence and triage policy before routine version updates are enabled.
113
+
114
+ The project does not run `cargo audit` or `pip-audit` as mandatory pull-request
115
+ checks. Any future repository audit starts as a scheduled or manually triggered
116
+ workflow, with a triage and allowlist policy defined before it can block pull
117
+ requests.
118
+
102
119
  ## Coordinated Disclosure
103
120
 
104
121
  The maintainer will make a best-effort attempt to:
@@ -118,9 +135,9 @@ The following are usually out of scope unless they demonstrate a concrete
118
135
  FogHTTP vulnerability:
119
136
 
120
137
  - attacks that require arbitrary code execution in the caller process
121
- - reports about unsupported features such as proxy transport behavior, cookie
122
- jar behavior, multipart uploads, or HTTP/2 unless the current code exposes
123
- unsafe behavior
138
+ - reports about unsupported features such as HTTP/2, SOCKS/PAC proxy routing,
139
+ TLS-to-proxy endpoints, browser-grade cookie policy, or streaming response
140
+ decompression unless the current code exposes unsafe behavior
124
141
  - denial-of-service reports that ignore documented response and request limits
125
142
  - issues caused only by intentionally disabling security in user application
126
143
  code outside FogHTTP
@@ -2,12 +2,102 @@
2
2
 
3
3
  Benchmark harness and full benchmark reports live in a separate repository:
4
4
  [github.com/AmberFog/FogHttpBenchmark](https://github.com/AmberFog/FogHttpBenchmark).
5
+ Use the `README.md` from the exact recorded benchmark checkout as the canonical
6
+ workflow for full-suite setup, execution, and report review.
5
7
 
6
8
  This page is a benchmark status snapshot, not a marketing scoreboard. Invalid
7
9
  rows, compatibility gaps, resource-limit errors, and weak spots stay visible
8
10
  because they are the inputs we use to improve FogHTTP.
9
11
 
10
- Last updated: `2026-07-02`.
12
+ Benchmark snapshot last updated: `2026-07-02`.
13
+
14
+ ## Release Smoke Gate
15
+
16
+ Normal pull-request CI does not use wall-clock benchmark thresholds. Shared CI
17
+ hosts are too variable for a small timing delta to be a reliable pass/fail
18
+ signal, and the full benchmark matrix is intentionally kept out of every PR.
19
+
20
+ Before a release, start from a clean checkout of the separate benchmark
21
+ repository at a recorded full commit SHA. Pin the exact FogHTTP release candidate
22
+ by its full commit SHA and run this bounded local-server smoke from that checkout.
23
+ For an unpublished candidate, update the benchmark checkout and verify its lock
24
+ before running the smoke:
25
+
26
+ ```bash
27
+ candidate_sha="<full-candidate-commit-sha>"
28
+ uv add "foghttp @ git+https://github.com/AmberFog/foghttp.git" \
29
+ --rev "$candidate_sha"
30
+ uv lock --check
31
+ ```
32
+
33
+ After pinning, only the benchmark project manifest and lockfile may differ from
34
+ the recorded clean checkout. Record SHA-256 digests of both exact files; any
35
+ other harness change must be committed and become the new recorded benchmark
36
+ repository SHA before the smoke runs.
37
+
38
+ Then run:
39
+
40
+ ```bash
41
+ candidate_sha="<full-candidate-commit-sha>"
42
+ uv run --locked foghttp-benchmark \
43
+ --suite request-builder \
44
+ --clients foghttp \
45
+ --modes async,sync \
46
+ --iterations 100 \
47
+ --warmup 10 \
48
+ --repeats 3 \
49
+ --scenarios absolute-url,json-body,send-prepared-get \
50
+ --no-progress \
51
+ --output-dir "results/release-smoke-${candidate_sha}"
52
+ ```
53
+
54
+ The smoke passes when the command exits successfully, the release tag, candidate,
55
+ and FogHTTP lock entry all resolve to the same full commit SHA, the report's
56
+ `metadata.package_versions.foghttp` value matches the candidate version, all
57
+ FogHTTP rows are valid with no unexpected measured or warmup errors, and the
58
+ report has no obvious regression against a same-host, same-Python, same-harness
59
+ baseline produced with the same suite, clients, modes, iterations, warmup,
60
+ repeats, scenarios, and progress settings. A timing change is reviewed as
61
+ evidence, not rejected by a fixed percentage; a maintainer records the timing-
62
+ review decision and rationale. Dependency-graph differences outside the
63
+ intended FogHTTP baseline/candidate change must be explained there.
64
+ Classify or rerun `warning`, `invalid`, and `needs-rerun` output before release.
65
+ For changes to a specific hot path or resource lifecycle, run the corresponding
66
+ full benchmark suite as described in the benchmark repository instead of
67
+ expanding this smoke into the normal PR matrix.
68
+
69
+ Record this evidence in the release-readiness issue or pull request before
70
+ publishing:
71
+
72
+ ```text
73
+ Candidate version and release-tag full commit SHA:
74
+ Source examples smoke CI run URL and CPython 3.11-3.14 statuses:
75
+ Installed-wheel smoke CI run URL and CPython 3.11-3.14 statuses:
76
+ Benchmark smoke status:
77
+ Benchmark repository full commit SHA and clean-start status:
78
+ Benchmark project manifest and lockfile SHA-256:
79
+ Candidate manifest/lock artifact URI or reproducible patch:
80
+ Resolved FogHTTP lock full SHA:
81
+ Report metadata FogHTTP version:
82
+ Benchmark host, Python, and exact command:
83
+ Candidate-specific report artifact URI and SHA-256:
84
+ Baseline FogHTTP version and full commit SHA:
85
+ Baseline benchmark repository full commit SHA and manifest/lockfile SHA-256:
86
+ Baseline manifest/lock artifact URI or reproducible patch:
87
+ Baseline host, Python, exact command, report artifact URI, and SHA-256:
88
+ Timing-review decision, maintainer, and rationale:
89
+ Warnings, reruns, or approved waiver with approver and rationale:
90
+ ```
91
+
92
+ Release readiness requires both example smoke paths and either a valid benchmark
93
+ report or a waiver approved by a maintainer. A waiver must identify why the
94
+ benchmark is not applicable and record the approver; a missing or unknown status
95
+ is not release-ready. Any candidate code change or release-tag move invalidates
96
+ the record and requires evidence for the new full SHA. An unrecorded harness
97
+ delta or manifest, lockfile, report, or baseline digest mismatch also invalidates
98
+ the record. A baseline produced with a different harness identity or workload
99
+ command is not comparable and cannot satisfy the gate. Local-only files that
100
+ are not retained with the release evidence do not satisfy the artifact fields.
11
101
 
12
102
  ## Methodology
13
103
 
@@ -32,7 +122,7 @@ Last updated: `2026-07-02`.
32
122
  used as strong all-client performance baselines until the reason is
33
123
  classified or rerun.
34
124
 
35
- ## Current Source Snapshots
125
+ ## Latest Retained Source Snapshots
36
126
 
37
127
  Primary benchmark data source for this page:
38
128
 
@@ -42,13 +132,19 @@ Primary benchmark data source for this page:
42
132
  httpxyz `0.31.2`, zapros `0.13.0`.
43
133
  - Platform: `macOS-26.5.1-arm64-arm-64bit-Mach-O`.
44
134
  - Python: `3.14.0`.
135
+ - Benchmark repository revision:
136
+ [`861e7cddf9134003c7079cb521def6892235c8d2`](https://github.com/AmberFog/FogHttpBenchmark/tree/861e7cddf9134003c7079cb521def6892235c8d2).
137
+
138
+ This `0.3.5` snapshot is the latest retained full baseline, not evidence for a
139
+ `0.4.0` release candidate. A `0.4.0` candidate must still satisfy the release
140
+ smoke gate above at its own full commit SHA before publication.
45
141
 
46
142
  Historical comparison sources:
47
143
 
48
144
  | Role | Result directory | Use |
49
145
  | --- | --- | --- |
50
- | Current release run | `results/full-pypi-foghttp-0.3.5-settled-20260702-200414` | Primary FogHTTP `0.3.5` evidence after run-settling. |
51
- | Previous release baseline | `results/full-current-deps-foghttp-0.3.4-20260607-121844` | Matching-row comparison against FogHTTP `0.3.4` on the same primary host lineage. |
146
+ | Latest retained full run | `results/full-pypi-foghttp-0.3.5-settled-20260702-200414` | Primary FogHTTP `0.3.5` evidence after run-settling. |
147
+ | Matching comparison baseline | `results/full-current-deps-foghttp-0.3.4-20260607-121844` | Matching-row comparison against FogHTTP `0.3.4` on the same primary host lineage. |
52
148
  | Valid proxy/CONNECT baseline | `results/proxy-connect-0.3.4-isolated-full-20260607-213445` | Previous proxy/CONNECT baseline for stability comparison. |
53
149
  | Earlier 0.3.5 attempts | `results/full-pypi-foghttp-0.3.5-20260702-162612`, `results/full-pypi-foghttp-0.3.5-rerun-20260702-172113`, `results/full-pypi-foghttp-0.3.5-settled-20260702-183136` | Diagnostic evidence that run settling removed false FogHTTP error contamination in request-style suites. |
54
150