Skip to content

framework

httpx

httpx is a Python HTTP client library supporting sync and async requests, HTTP/1.1 and HTTP/2, with connection pooling via Client and AsyncClient.

Known aliases

  • httpx2
  • httpx.AsyncClient
  • httpx.Client
  • python-httpx

Relationships

No evidence-backed relationships are recorded.

Current stories

build1 publisher

One reused socket served 199 of the 200 GETs behind a 12 ms mean

Field notes from a two-day hunt for a missing 12 milliseconds end at the client, where a reused requests.Session let one cold request and 199 warm ones share a mean. The figure describes a long-lived worker with a warm pool.

Publishers:dev.to

Reality

Evidence50
Adoption
Insufficient
Hype gap+10
Incentives20
Confidence55
build1 publisher

Returning 202 with a persisted job row outlives nginx's sixty-second timeout

A dev.to post argues a report generation request should be accepted as work and written to a row with an owner, a budget and an idempotency key before any worker calls the model, so a browser retry collides with the row that already exists and reads its status.

Publishers:dev.to

Reality

Evidence52
Adoption
Insufficient
Hype gap+8
Incentives22
Confidence58