Download Latest Version v3.61.0 Release source code.zip (562.7 kB)
Email in envelope

Get an email when there's a new version of req

Home / v3.61.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-08-13 647 Bytes
v3.61.0 Release source code.tar.gz 2026-08-13 483.8 kB
v3.61.0 Release source code.zip 2026-08-13 562.7 kB
Totals: 3 Items   1.0 MB 3

New Features

  • Add Client.SetResolver and Client.SetHosts for custom DNS on HTTP/1 and HTTP/2 — custom net.Resolver or static hosts-file-style hostname→IP mapping, with fail-closed behavior for unknown hosts. Closes [#169]. PR [#516] by @ManuelReschke.
  • Expose RetryOption for middleware read access — adds Request.GetRetryOption() so middleware can read the live retry config (MaxRetries, interval, conditions, hooks). Closes [#475]. PR [#515] by @ManuelReschke.

Dependencies

Source: README.md, updated 2026-08-13