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

httpserver.nim: adding 'Content-Type: application/json' header to the response #165

Merged
merged 2 commits into from
Jun 15, 2023

Conversation

Ivansete-status
Copy link
Contributor

Summary

This PR aims for applying the header "Content-Type: application/json; charset=utf-8" to all the json-rpc responses.

Issue

waku-org/nwaku#1783

@Ivansete-status
Copy link
Contributor Author

Ivansete-status commented Jun 7, 2023

All tests passed locally.
@kdeme @arnetheduck @Menduist - I'd like to set you as reviewers but I can't.

Copy link
Member

@jakubgs jakubgs left a comment

Choose a reason for hiding this comment

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

Thanks.

json_rpc/servers/httpserver.nim Outdated Show resolved Hide resolved
@kdeme kdeme merged commit 0bf2bcb into status-im:master Jun 15, 2023
8 checks passed
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.

None yet

3 participants