Closed fnc12 closed 7 years ago
How to add a header Content-Type: application/json to response? Maybe it would be more logically to insert it implicitly?
Content-Type: application/json
You can do it manually, check here:
https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/C%2B%2B/silicon/techempower.hh#L47
Good suggestion, I'll insert it implicitely for procedures returning SIO objects.
How to add a header
Content-Type: application/json
to response? Maybe it would be more logically to insert it implicitly?