Skip to content

Only send HTML to browser-type clients#7423

Merged
labkey-jeckels merged 2 commits intodevelopfrom
fb_htmlJsonFollowup
Feb 16, 2026
Merged

Only send HTML to browser-type clients#7423
labkey-jeckels merged 2 commits intodevelopfrom
fb_htmlJsonFollowup

Conversation

@labkey-jeckels
Copy link
Contributor

@labkey-jeckels labkey-jeckels commented Feb 16, 2026

Rationale

The fix to properly encode JSON when rendered as HTML fixed actually setting the content type. This broke R, Python, and likely other non-browser scenarios.

#7385

Changes

  • Only choose to send text/html to browser-type clients

Tasks 📍

@labkey-jeckels labkey-jeckels requested a review from a team February 16, 2026 20:42
@labkey-jeckels labkey-jeckels self-assigned this Feb 16, 2026
@labkey-jeckels labkey-jeckels merged commit 941728c into develop Feb 16, 2026
9 checks passed
@labkey-jeckels labkey-jeckels deleted the fb_htmlJsonFollowup branch February 16, 2026 23:35
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.

2 participants