Re: [openstack-dev] WSME / Pecan and only supporting JSON?

2014-02-27 Thread Doug Hellmann
On Thu, Feb 27, 2014 at 12:48 AM, Michael Davies mich...@the-davies.netwrote: Hi everyone, Over in Ironic Land we're looking at removing XML support from ironic-api (i.e. https://bugs.launchpad.net/ironic/+bug/1271317) I've been looking, but I can't seem to find an easy way to modify the

Re: [openstack-dev] WSME / Pecan and only supporting JSON?

2014-02-27 Thread Sylvain Bauza
Le 27/02/2014 14:13, Doug Hellmann a écrit : WSME supports both protocols without the API developer having to do any extra work. Doug Just one comment about WSGI middlewares that we could create for Pecan, we still need to handle both XML and JSON by hand. I do agree this is not WSME

Re: [openstack-dev] WSME / Pecan and only supporting JSON?

2014-02-27 Thread Doug Hellmann
On Thu, Feb 27, 2014 at 2:00 AM, Noorul Islam K M noo...@noorul.com wrote: Michael Davies mich...@the-davies.net writes: Hi everyone, Over in Ironic Land we're looking at removing XML support from ironic-api (i.e. https://bugs.launchpad.net/ironic/+bug/1271317) I've been looking,

Re: [openstack-dev] WSME / Pecan and only supporting JSON?

2014-02-27 Thread Sean Dague
On 02/27/2014 08:13 AM, Doug Hellmann wrote: On Thu, Feb 27, 2014 at 12:48 AM, Michael Davies mich...@the-davies.net mailto:mich...@the-davies.net wrote: Hi everyone, Over in Ironic Land we're looking at removing XML support from ironic-api (i.e.

Re: [openstack-dev] WSME / Pecan and only supporting JSON?

2014-02-27 Thread Doug Hellmann
On Thu, Feb 27, 2014 at 8:28 AM, Sean Dague s...@dague.net wrote: On 02/27/2014 08:13 AM, Doug Hellmann wrote: On Thu, Feb 27, 2014 at 12:48 AM, Michael Davies mich...@the-davies.net mailto:mich...@the-davies.net wrote: Hi everyone, Over in Ironic Land we're looking at

Re: [openstack-dev] WSME / Pecan and only supporting JSON?

2014-02-27 Thread Adrian Otto
Doug, On Feb 27, 2014, at 7:23 AM, Doug Hellmann doug.hellm...@dreamhost.commailto:doug.hellm...@dreamhost.com wrote: On Thu, Feb 27, 2014 at 2:00 AM, Noorul Islam K M noo...@noorul.commailto:noo...@noorul.com wrote: Michael Davies mich...@the-davies.netmailto:mich...@the-davies.net writes:

Re: [openstack-dev] WSME / Pecan and only supporting JSON?

2014-02-27 Thread Doug Hellmann
On Thu, Feb 27, 2014 at 9:33 AM, Adrian Otto adrian.o...@rackspace.comwrote: Doug, On Feb 27, 2014, at 7:23 AM, Doug Hellmann doug.hellm...@dreamhost.com wrote: On Thu, Feb 27, 2014 at 2:00 AM, Noorul Islam K M noo...@noorul.comwrote: Michael Davies mich...@the-davies.net writes:

[openstack-dev] WSME / Pecan and only supporting JSON?

2014-02-26 Thread Michael Davies
Hi everyone, Over in Ironic Land we're looking at removing XML support from ironic-api (i.e. https://bugs.launchpad.net/ironic/+bug/1271317) I've been looking, but I can't seem to find an easy way to modify the accepted content_types. Are there any wsgi / WSME / Pecan experts out there who can

Re: [openstack-dev] WSME / Pecan and only supporting JSON?

2014-02-26 Thread Noorul Islam K M
Michael Davies mich...@the-davies.net writes: Hi everyone, Over in Ironic Land we're looking at removing XML support from ironic-api (i.e. https://bugs.launchpad.net/ironic/+bug/1271317) I've been looking, but I can't seem to find an easy way to modify the accepted content_types. Are