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

elixir-mint / mint / 96bc2b50a692679ca4ff8c14aa280254ad38d6c8-PR-525
90%
main: 91%

Build:
Build:
LAST BUILD BRANCH: fuzz-http1-transfer-codings
DEFAULT BRANCH: main
Ran 16 Oct 2026 01:06PM UTC
Jobs 1
Files 22
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

28 Sep 2026 02:50PM UTC coverage: 90.46% (-0.05%) from 90.508%
96bc2b50a692679ca4ff8c14aa280254ad38d6c8-PR-525

Pull #525

github

ericmj
Accept transfer codings with parameters in Transfer-Encoding

A Transfer-Encoding value with a parameter, such as
"custom; level=1, chunked", failed with {:invalid_token_list, value}
because the value was parsed as a plain list of tokens. RFC 9110 10.1.4
allows parameters on a transfer coding, as a token or a quoted string.

Transfer-Encoding values are now parsed with their parameters and only
the coding names are kept, so the final coding of a response still
decides between chunked framing and reading until close. The chunked
coding defines no parameters and RFC 9112 7.1 says their presence
should be treated as an error, so chunked with parameters is still
rejected.

The same parser checks the Transfer-Encoding headers passed to request/5
with a streamed body and no Content-Length, so a value such as
"gzip;q=1" is accepted there. The fields are combined with ", " into
one value before parsing (RFC 9110 5.3). If chunked or identity is among
the codings the headers are sent unchanged, as before. Otherwise chunked
is appended to the last field, so it ends up as the final coding once.
Pull Request #525: Accept transfer codings with parameters in Transfer-Encoding

39 of 39 new or added lines in 2 files covered. (100.0%)

6 existing lines in 3 files now uncovered.

1811 of 2002 relevant lines covered (90.46%)

708.15 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
78.95
-15.79% lib/mint/core/headers.ex
2
95.28
-0.24% lib/mint/http2.ex
1
96.05
-1.32% lib/mint/http1/response.ex
Jobs
ID Job ID Ran Files Coverage
1 96bc2b50a692679ca4ff8c14aa280254ad38d6c8-PR-525.1 16 Oct 2026 01:06PM UTC 22
90.46
GitHub Action Run
Source Files on build 96bc2b50a692679ca4ff8c14aa280254ad38d6c8-PR-525
  • Tree
  • List 22
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #525
  • PR Base - main (#FB850D37...)
  • 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