Skip to content

modified json.dumps parameters in renderers.py and set Access-Control… #104

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aloknayak29
Copy link

While calling json.dumps in renderers.py, I have changed 'ensure_ascii' to True and started passing 'default' parameter with value str. Apart from this I have set Access-Control-Allow-Origin to * in response.py, which is generally required in APIs.

Copy link
Collaborator

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the PR. can you also check the travis failure? and possibly update the flask versions?

@auvipy auvipy closed this Aug 27, 2021
@auvipy auvipy reopened this Aug 27, 2021
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.

3 participants