Skip to content

fix(network-activity-plugin): support RFC 6839 json responses#240

Merged
V3RON merged 2 commits into
mainfrom
fix/network-json-plus-suffix
May 8, 2026
Merged

fix(network-activity-plugin): support RFC 6839 json responses#240
V3RON merged 2 commits into
mainfrom
fix/network-json-plus-suffix

Conversation

@V3RON
Copy link
Copy Markdown
Contributor

@V3RON V3RON commented May 7, 2026

Summary

  • recognize RFC 6839 +json content types alongside application/json in the network activity plugin
  • use the same JSON content-type detection when extracting response bodies, rendering the Response tab, and applying response overrides
  • add coverage for application/*+json handling so Rozenite users can inspect JSON responses correctly instead of seeing an empty body

Testing

  • pnpm exec vitest run packages/network-activity-plugin/src/utils/tests/getContentTypeMimeType.test.ts packages/network-activity-plugin/src/react-native/nitro-fetch/tests/nitro-network-inspector.test.ts packages/network-activity-plugin/src/react-native/agent/tests/network-activity-agent-state.test.ts
  • pnpm --filter @rozenite/network-activity-plugin typecheck

Closes #239.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
rozenite Skipped Skipped May 7, 2026 8:31am

Request Review

@V3RON V3RON merged commit 0e2a4db into main May 8, 2026
4 checks passed
@V3RON V3RON deleted the fix/network-json-plus-suffix branch May 8, 2026 09: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.

Network tab shows "No response body available" for RFC 6839 +json content types (e.g. application/vnd.geo+json)

1 participant