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

add json argument for test client #1404

Merged
merged 1 commit into from Nov 25, 2018

Conversation

Projects
None yet
1 participant
@davidism
Copy link
Member

commented Nov 25, 2018

Closes #848

Raises a TypeError if data is also passed. Sets content_type="application/json" if it doesn't already have a value. To support alternate serializers, such as flask.json.dumps, EnvironBuilder.json_dumps can be overridden.

@davidism davidism added this to the 0.15 milestone Nov 25, 2018

@davidism davidism force-pushed the test-client-json branch from 4ab6ed5 to f6ce5a4 Nov 25, 2018

@davidism davidism merged commit c1990f3 into master Nov 25, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@davidism davidism deleted the test-client-json branch Nov 25, 2018

davidism added a commit that referenced this pull request Dec 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.