Skip to content

fix: parse JSON content types case-insensitively - #293

Open
fallintoplace wants to merge 1 commit into
resend:mainfrom
fallintoplace:fix-json-content-type
Open

fallintoplace wants to merge 1 commit into
resend:mainfrom
fallintoplace:fix-json-content-type

Conversation

@fallintoplace

@fallintoplace fallintoplace commented Oct 4, 2026 •

Copy link
Copy Markdown

What

  • Fix JSON response detection in sync and async clients.

Why

Implementation

  • Compare the media type exactly after removing parameters and normalizing case.
  • Add regressions for casing, parameters, wrong types, and API errors.

@github-actions github-actions Bot added the linear-synced PR has been synced to Linear label Oct 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linear-synced PR has been synced to Linear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant