Skip to content

Support +json response parsing when parse_response_by_content_type is enabled#474

Merged
ydah merged 1 commit intointeragent:masterfrom
f440:fix/parse-response-plus-json
Apr 15, 2026
Merged

Support +json response parsing when parse_response_by_content_type is enabled#474
ydah merged 1 commit intointeragent:masterfrom
f440:fix/parse-response-plus-json

Conversation

@f440
Copy link
Copy Markdown
Contributor

@f440 f440 commented Apr 14, 2026

This change teaches response parsing to honor RFC 6839 structured syntax suffixes when parse_response_by_content_type is enabled. Responses with media types such as application/problem+json (RFC 9457 Problem Details for HTTP APIs) are now parsed the same way as application/json.

Copy link
Copy Markdown
Member

@ydah ydah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your work! seems good.

@ydah
Copy link
Copy Markdown
Member

ydah commented Apr 15, 2026

@f440 could you please fix rubocop offenses?

@f440 f440 force-pushed the fix/parse-response-plus-json branch from d90137e to 2d46700 Compare April 15, 2026 04:38
@ydah ydah merged commit 71822a0 into interagent:master Apr 15, 2026
9 checks passed
@ydah
Copy link
Copy Markdown
Member

ydah commented Apr 15, 2026

@f440 Thank you!

@f440 f440 deleted the fix/parse-response-plus-json branch April 15, 2026 04:39
@ydah
Copy link
Copy Markdown
Member

ydah commented Apr 16, 2026

@f440 - released in v5.6.3

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