Re: [openstack-dev] [pecan] [WSME] Different content-type in request and response

2014-12-18 Thread Renat Akhmerov
Ok, Doug, we’ll look into it. Thanks Renat Akhmerov @ Mirantis Inc. > On 18 Dec 2014, at 22:59, Doug Hellmann wrote: > > > On Dec 18, 2014, at 2:53 AM, Renat Akhmerov > wrote: > >> Doug, >> >> Sorry for trying to resurrect this thread again. It seems to be

Re: [openstack-dev] [pecan] [WSME] Different content-type in request and response

2014-12-18 Thread Doug Hellmann
On Dec 18, 2014, at 2:53 AM, Renat Akhmerov wrote: > Doug, > > Sorry for trying to resurrect this thread again. It seems to be pretty > important for us. Do you have some comments on that? Or if you need more > context please also let us know. WSME has separate handlers for JSON and XML now.

Re: [openstack-dev] [pecan] [WSME] Different content-type in request and response

2014-12-17 Thread Renat Akhmerov
Doug, Sorry for trying to resurrect this thread again. It seems to be pretty important for us. Do you have some comments on that? Or if you need more context please also let us know. Thanks Renat Akhmerov @ Mirantis Inc. > On 27 Nov 2014, at 17:43, Renat Akhmerov wrote: > > Doug, thanks f

Re: [openstack-dev] [pecan] [WSME] Different content-type in request and response

2014-11-27 Thread Renat Akhmerov
Doug, thanks for your answer! My explanations below.. > On 26 Nov 2014, at 21:18, Doug Hellmann wrote: > > > On Nov 26, 2014, at 3:49 AM, Renat Akhmerov > wrote: > >> Hi, >> >> I traced the WSME code and found a place [0] where it tries to get arguments >>

Re: [openstack-dev] [pecan] [WSME] Different content-type in request and response

2014-11-26 Thread Doug Hellmann
On Nov 26, 2014, at 3:49 AM, Renat Akhmerov wrote: > Hi, > > I traced the WSME code and found a place [0] where it tries to get arguments > from request body based on different mimetype. So looks like WSME supports > only json, xml and “application/x-www-form-urlencoded”. > > So my question

Re: [openstack-dev] [pecan] [WSME] Different content-type in request and response

2014-11-26 Thread Renat Akhmerov
Hi, I traced the WSME code and found a place [0] where it tries to get arguments from request body based on different mimetype. So looks like WSME supports only json, xml and “application/x-www-form-urlencoded”. So my question is: Can we fix WSME to also support “text/plain” mimetype? I think