Files
probo/pkg
Aurélien Sibiril 0de4216ce6 Fix Heroku connection probe Accept header
Heroku's connection-status probe used a static ProbeURL, which the
generic probe issues with `Accept: application/json`. Heroku negotiates
the API version through the Accept media type and returns 400 for an
unversioned request, which doProbeRequest reads as "connected" -- so the
probe never caught a revoked token (it only surfaced at the first
ListAccounts).

Probe via a probeHeroku closure that sends
`Accept: application/vnd.heroku+json; version=3` instead. Verified live:
a dead token returns 400 with application/json but 401 with the
versioned header, which doProbeRequest correctly maps to rejected.

Signed-off-by: Aurélien Sibiril <81782+aureliensibiril@users.noreply.github.com>
2026-06-23 19:21:13 +02:00
..
2026-06-22 11:40:18 +02:00
2026-06-23 19:17:56 +02:00
2026-06-15 19:18:42 +02:00
2026-06-16 14:35:16 +02:00
2026-06-16 14:35:16 +02:00
2026-06-22 11:42:20 +02:00
2026-06-16 14:35:16 +02:00
2026-06-16 14:35:16 +02:00
2026-06-22 11:40:18 +02:00
2026-06-12 14:39:51 +02:00