devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Display request data in TextView if content type is not json

Open leungpuikuen opened this issue 3 years ago • 0 comments

Non json type http post data is being wrapped into JsonViewer which resulted in blank model. This change add content type check on request body to use JsonViewer only when content type is json

List which issues are fixed by this PR. You must list at least one issue.

If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.

Pre-launch Checklist

  • [y] I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • [y] I read the Tree Hygiene wiki page, which explains my responsibilities.
  • [y] I read the Flutter Style Guide recently, and have followed its advice.
  • [y] I signed the CLA.
  • [y] I listed at least one issue that this PR fixes in the description above.
  • [y] I updated/added relevant documentation (doc comments with ///).
  • [y] I added new tests to check the change I am making, or this PR is test-exempt.
  • [y] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

leungpuikuen avatar Oct 12 '22 13:10 leungpuikuen