On Sep 2, 2011, at 1:01 PM, Stefaan Himpe wrote: > I seem to have hit an unexpected detail of the jsonrpc support in web2py: > when I post a json request to my web2py application, I get a json reply with > a content-type set to "text/html; charset=utf8" (whereas i had expected > something like "application/json"). > > Am I doing something wrong? Is this a bug in the jsonrpc support for web2py? > Or do I simply have wrong expectations? > > Any insights welcome!
There *is* a bug, but it should be generating text/x-json (and that should be fixed). Are you sure you're getting text/html?