Re: [Mailman-Developers] REST returns 405 to PATCH in development environment.

2016-10-19 Thread Barry Warsaw
On Oct 18, 2016, at 10:11 PM, Mark Sapiro wrote: >I get it and I will fix. > >I also note that in my production installs (current branch heads) >Postorius can't edit a domain for the same reason. That's what threw me >off as I assumed editing a domain worked in general and just not in my

Re: [Mailman-Developers] REST returns 405 to PATCH in development environment.

2016-10-18 Thread Mark Sapiro
On 10/18/2016 08:02 AM, Barry Warsaw wrote: > > The way Falcon works is that you need an on_() method for every HTTP > METHOD that a resource implements. If you look at the ADomain class (or the > _DomainBase base class), it only implements an on_get() and an on_delete(), > but no on_put() or

Re: [Mailman-Developers] REST returns 405 to PATCH in development environment.

2016-10-18 Thread Barry Warsaw
On Oct 17, 2016, at 07:23 PM, Mark Sapiro wrote: >It all seems to work except editing. I can create a domain with or >without an alias_domain, see it all listed and delete the domain, but >any attempts at editing the domain fail with the core REST server >returning 405 to the PATCH request. Even

[Mailman-Developers] REST returns 405 to PATCH in development environment.

2016-10-17 Thread Mark Sapiro
I'm sure there's something wrong with what I'm doing, but I have the following issue. I am developing/testing a change to Postorius to support alias_domain as implemented by and .