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

elixir-mint / mint / 3edf068dd9cb574f059b93e485ad0524a51e791d-PR-513
89%
main: 89%

Build:
Build:
LAST BUILD BRANCH: http1-pipelining
DEFAULT BRANCH: main
Ran 24 Sep 2026 12:10PM 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

24 Sep 2026 12:08PM UTC coverage: 89.226% (+0.5%) from 88.727%
3edf068dd9cb574f059b93e485ad0524a51e791d-PR-513

Pull #513

github

ericmj
Parse HTTP/1 header lines with SWAR instead of :erlang.decode_packet/3

Header values were decoded with decode_packet/3 and then scanned again to
replace obs-folds, trim whitespace and validate the name and value bytes.
Header lines are now parsed in one pass that reads 7 bytes at a time as an
integer and uses bit tricks to find the colon and the line end while
validating the name and value. Bare LF line endings and obs-folds are
handled by the parser, so the sentinel byte :stream_headers appended to
make decode_packet/3 emit a header at the end of the data isn't needed.

Co-authored-by: Wojtek Mach <wojtekmach@users.noreply.github.com>
Pull Request #513: Validate and normalize HTTP/1 status lines and header fields

83 of 86 new or added lines in 3 files covered. (96.51%)

1648 of 1847 relevant lines covered (89.23%)

661.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
96.1
19.18% lib/mint/http1/response.ex
Jobs
ID Job ID Ran Files Coverage
1 3edf068dd9cb574f059b93e485ad0524a51e791d-PR-513.1 24 Sep 2026 12:10PM UTC 22
89.23
GitHub Action Run
Source Files on build 3edf068dd9cb574f059b93e485ad0524a51e791d-PR-513
  • Tree
  • List 22
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #513
  • PR Base - main (#02D9148A...)
  • 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