Skip to content

fix(hub): align KindText twin/feed Accept headers with Go classify.AcceptFor allowlist - #47

Merged
bartrumb merged 2 commits into
mainfrom
fix/v2.6.0-kindtext-accept
Nov 21, 2026
Merged

bartrumb merged 2 commits into
mainfrom
fix/v2.6.0-kindtext-accept

Conversation

@bartrumb

Copy link
Copy Markdown
Owner

Fixes a cross-language wire mismatch uncovered during live fleet testing: 8 site-adapter twins (icims, huggingface-card, personio, jazzhr, weworkremotely-feed, teamtailor, pmc-europepmc) and companion .md upgrades sent multi-token Accept headers on kind: text, which Go strict classify.AcceptFor(KindText, ...) MIME allowlist rejected with HTTP 400 (causing silent fallback to HTML). Normalizes all kind: text Accept values to Go exact allowlist and adds a permanent cross-language assertion in ADAPTER-1.

…ceptFor allowlist

Signed-off-by: Brett Bartrum <17114576+bartrumb@users.noreply.github.com>
…rify mode (board_gone)

Signed-off-by: Brett Bartrum <17114576+bartrumb@users.noreply.github.com>
@bartrumb
bartrumb merged commit dd72173 into main Nov 21, 2026
4 checks passed
@bartrumb
bartrumb deleted the fix/v2.6.0-kindtext-accept branch November 21, 2026 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant