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

pomerium / pomerium / 23257573891
52%

Build:
DEFAULT BRANCH: main
Ran 18 Mar 2026 05:30PM UTC
Jobs 1
Files 688
Run time 2min
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 Mar 2026 05:16PM UTC coverage: 45.464% (-0.001%) from 45.465%
23257573891

push

github

web-flow
mcp: set Accept: application/json on upstream token exchange requests (#6195)

## Summary

RFC 6749 §4.1.3 and §5.1 require token endpoint responses to be JSON.
This PR makes that requirement explicit by setting the `Accept:
application/json` header on all upstream token exchange requests,
ensuring servers that perform content negotiation respond with JSON
rather than some internal defaults (i.e. GitHub would return
`application/x-www-form-urlencoded`).


## Related issues

- ENG-3698

## User Explanation

No user-facing changes.

## Checklist

- [x] reference any related issues
- [x] updated unit tests
- [ ] add appropriate label (`enhancement`, `bug`, `breaking`,
`dependencies`, `ci`)
- [ ] ready for review

2 of 2 new or added lines in 1 file covered. (100.0%)

36 existing lines in 9 files now uncovered.

34846 of 76645 relevant lines covered (45.46%)

114.69 hits per line

Coverage Regressions

Lines Coverage ∆ File
10
85.78
-4.9% config/config_source.go
10
80.13
-0.21% pkg/ssh/manager.go
4
74.26
-0.89% internal/databroker/config_source.go
4
90.91
-3.64% pkg/fanout/receive.go
2
89.19
-5.41% pkg/fanout/fanout.go
2
95.83
-2.08% pkg/identity/manager/schedulers.go
2
88.52
0.0% pkg/storage/postgres/postgres.go
1
57.49
-0.25% internal/controlplane/server.go
1
82.24
-0.2% pkg/envoy/resource_monitor_linux.go
Jobs
ID Job ID Ran Files Coverage
1 23257573891.1 18 Mar 2026 05:30PM UTC 688
45.46
GitHub Action Run
Source Files on build 23257573891
  • Tree
  • List 688
  • Changed 13
  • Source Changed 1
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23257573891
  • cd623f77 on github
  • Prev Build on main (#23255932940)
  • Next Build on main (#23258806489)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc