• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

elixir-mint / mint / f8ea6e1074fdf8746be40f2885bb9e6207fd5b7e-PR-491
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: http2-connect-target
DEFAULT BRANCH: main
Ran 18 Jul 2026 07:48PM UTC
Jobs 1
Files 20
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Jul 2026 08:44AM UTC coverage: 87.546% (+0.04%) from 87.508%
f8ea6e1074fdf8746be40f2885bb9e6207fd5b7e-PR-491

Pull #491

github

Leonard013
Send origin Host header for plain-HTTP proxied requests

When connecting to an origin through a plain-HTTP (non-tunnel) proxy,
Mint.UnsafeProxy rewrote the request target to the absolute origin URI
but left the Host header unset, so Mint.HTTP1 defaulted it to the proxy's
own host:port. Per RFC 7230 section 5.4 the Host header must identify the
origin server; hackney and HTTPoison already do this.

Set the Host header to the origin (dropping the port when it is the
scheme default) in Mint.UnsafeProxy.request/5 before delegating to
Mint.HTTP1, whose put_new leaves it intact. A caller-supplied Host header
is still respected.

Fixes #446.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NX8ygWTRa86kE8k8Yn9bpu
Pull Request #491: Send origin Host header for plain-HTTP proxied requests

1434 of 1638 relevant lines covered (87.55%)

491.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 f8ea6e1074fdf8746be40f2885bb9e6207fd5b7e-PR-491.1 18 Jul 2026 07:48PM UTC 20
87.55
GitHub Action Run
Source Files on build f8ea6e1074fdf8746be40f2885bb9e6207fd5b7e-PR-491
  • Tree
  • List 20
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #491
  • PR Base - main (#F0B72C0B...)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc