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

jhillyerd / enmime / 31328812564
87%

Build:
DEFAULT BRANCH: main
Ran 09 Aug 2026 06:21PM UTC
Jobs 2
Files 39
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

09 Aug 2026 06:21PM UTC coverage: 86.563% (+0.1%) from 86.467%
31328812564

push

github

web-flow
Add ContentTransferEncoding field to force CTE on a Part (#396)

* Add ContentTransferEncoding field to force CTE on a Part

Allows callers to override the automatic Content-Transfer-Encoding
selection on a per-part basis. Valid values are "7bit", "8bit",
"base64", and "quoted-printable". Empty or unrecognised values
fall back to automatic detection.

This is useful for ASCII-safe content like PGP armor
(application/pgp-encrypted, application/pgp-signature) that would
otherwise be unnecessarily base64-encoded.

The forced CTE takes precedence over both the TextContent() gate
and the Encoder.ForceQuotedPrintableCte option.

Closes #395

* small improvements

Signed-off-by: James Hillyerd <james@hillyerd.com>

* always emit header when forced

Signed-off-by: James Hillyerd <james@hillyerd.com>

---------

Signed-off-by: James Hillyerd <james@hillyerd.com>

58 of 62 new or added lines in 2 files covered. (93.55%)

3324 of 3840 relevant lines covered (86.56%)

4285.07 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
86.84
1.25% encode.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.26.x - 31328812564.1 09 Aug 2026 06:21PM UTC 39
86.56
GitHub Action Run
2 Go-1.25.x - 31328812564.2 09 Aug 2026 06:21PM UTC 39
86.56
GitHub Action Run
Source Files on build 31328812564
  • Tree
  • List 39
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e3b0d6f3 on github
  • Prev Build on main (#31326058916)
  • Next Build on main (#31622775533)
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