Skip to main content

Real httpx-backed HTTP client for Signoff verifiers.

Project description

signoff-http

Real httpx-backed HTTP client for Signoff verifiers.

Drop-in replacement for signoff.testing.FakeHttpClient that adds retry, robots.txt compliance, optional response caching, and safe defaults (bounded response size, identifiable User-Agent, TLS verification on).

from signoff_http import HttpxClient, HttpxClientConfig

async with HttpxClient() as http:
    result = await http.get("https://example.com/")
    if result.ok:
        print(result.status_code, len(result.text))

Configuration is loaded from SIGNOFF_HTTP_* environment variables; see docs/http-client.md in the repo root for the full reference.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

signoff_http-0.0.1.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

signoff_http-0.0.1-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file signoff_http-0.0.1.tar.gz.

File metadata

  • Download URL: signoff_http-0.0.1.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for signoff_http-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f0f1f6190e70ef20808a04b2b582f4f2c3ec8bad6bd3f7a508d2d2de8bf0b561
MD5 ad835407d68b001c7138c2a6dea3d529
BLAKE2b-256 314ec85d78346484eb575fd7ba3cc91d6da528f14f460537bc8858bc14a7d443

See more details on using hashes here.

File details

Details for the file signoff_http-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: signoff_http-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for signoff_http-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 26e2b3c9cd6da37e02a1aa3763520255c10a266e5ee604430b616b1f75433fcf
MD5 68f9d297e28757515ee044a940e978ee
BLAKE2b-256 5edbfb06dd5ae76efbb6a9ccc3dfaf2c67d8b23c90089c8f5f987125fc6589d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page