Andrey Antukh 0d983548ca ♻️ Add defensive defaults and unit tests for content negotiation
Both case expressions dispatching on the negotiated format now
fall back to the transit encoding/format when an unexpected value
shows up, instead of silently returning nil.

Add direct unit tests for app.http.content-negotiation/negotiate-format
covering the Accept header, the _fmt=json query parameter precedence,
and the transit fallback when no explicit signal is present.

AI-assisted-by: glm-5.3-flash
2026-11-02 11:13:52 +01:00
..