Skip to content

Conversation

@mokevnin
Copy link
Member

@mokevnin mokevnin commented Feb 6, 2026

Summary

  • extend JSON_CONTENT matcher to support structured syntax suffixes like application/hal+json
  • add regression test for application/hal+json

Why

/api/v4/account can return application/hal+json. Current regex only allows application/json and application/vnd.*+json, so HAL responses are decoded as raw StringIO instead of JSON models.

Notes

  • This is a minimal targeted fix in SDK runtime parsing.
  • Full test run was not completed in local sandbox due to bundler cache write permissions; CI should validate the suite.

@mokevnin mokevnin merged commit e41f95d into Hexlet:main Feb 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant