Subject: | integration with Struts2 json plugin |
Date: | Thu, 2 Aug 2012 15:53:08 +0200 |
To: | bug-MojoX-JSON-RPC [...] rt.cpan.org |
From: | Frédéric Meunier <meunier [...] kwaga.com> |
Hello,
Great job you have done. Very helpful for us.
I just encountered a problem with your package.
To invoque a Json-rpc method deployed by struts, you must set the
"content-type" to "application/json-rpc".
We use your package, because it seams to be the only one able to override
"content-type" http header (the others have default value set to
"application/json").
The problem is that the http header overrided by your package is
"content_type" instead of "content-type" ("_" instead of "-").
Thanks for answering.
Regards,
--
Frédéric Meunier
CTO
WriteThat.Name <http://writethat.name/> keeps my address book
up-to-date<http://youtu.be/WMO9MGSl9ZY>
15 rue Jean-Baptiste Berlier
75013 Paris
France
Email : meunier@kwaga.com
Gsm : 06 82 36 76 00