[Cppcms-users] Json content type
Brought to you by:
artyom-beilis
|
From: Ronnie C. <ron...@db...> - 2013-06-19 16:22:46
|
How do I get cppcms to return json objects with the application/json content type rather than text/html Using the 'div' example, response is received fine and if I look at the net traffic (eg using fiddler), I note it has the correct structure but wrong content type. This means jquery's ajax methods reject it with 'Invalid Content type'. Do I need to have a mime type configured somewhere? Thanks ROnnie |