Hi Tristan, Sorry about forgetting to check bugzilla.
Thanks for your help with this. Silas On 18 November 2011 07:34, Tristan Koch <[email protected]> wrote: > Hi Silas, > > thanks for reporting. > > You've found a bug, but its already fixed: > http://bugzilla.qooxdoo.org/show_bug.cgi?id=5475 > > You might also be interested in: > http://bugzilla.qooxdoo.org/show_bug.cgi?id=5818 > > By the way, its possible to specifiy the parser symbolically, like this: > req.setParser("json") > > Regards > Tristan > > Am 17.11.2011 um 16:10 schrieb Silas Parker: > >> Hello, >> >> I may have found a bug, but I'm not sure if this is the intended behaviour. >> >> In qx.io.request.Xhr, the JSON parser isn't automatically used when >> the charset is specified as part of the content-type reply header. >> >> The replies from the server have a content type of: >> application/json; charset=utf8 >> >> In qx/io/request/Xhr.js line 373, the string used for detection is: >> application/json >> >> I know the charset is a bit redundant as JSON is always in UTF-8, but >> it might be good to handle this case. >> >> I have worked around this in my code by specifying the parser manually: >> req.setParser(qx.io.request.Xhr.PARSER["json"]); >> >> Regards, >> >> Silas >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure >> contains a definitive record of customers, application performance, >> security threats, fraudulent activity, and more. Splunk takes this >> data and makes sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-novd2d >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
