[Cppcms-users] Rpc Json problem
Brought to you by:
artyom-beilis
|
From: Daniel V. <chi...@gm...> - 2010-09-22 00:04:34
|
Hello.
I have a problem with json_rpc class.
I use Qooxdoo ajax framework. When this framework sends a request the
content type is:
Content-Type = "application/json; charset=UTF-8"
but CppCMS expect only "application/json".
if(c.request().content_type()!="application/json")
throw call_error("Invalid content type");
Regards.
|