Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix request bug with json view for request data #5463

Merged
merged 2 commits into from
Mar 21, 2023

Conversation

CoderDake
Copy link
Contributor


Fixes #5413

It looks like the request content type may be stored as an array of headers. So I've updated the request view to check the header type before checking whether it contains 'json'.

This resolves an issue where json was showing up in the plain text view instead of the json view.

@CoderDake CoderDake marked this pull request as ready for review March 21, 2023 14:31
@CoderDake CoderDake requested review from kenzieschmoll, bkonyi and a team as code owners March 21, 2023 14:31
@CoderDake CoderDake merged commit 4a29af1 into flutter:master Mar 21, 2023
@CoderDake CoderDake deleted the jrequest branch March 21, 2023 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants