[pylons-discuss] AuthTktAuthenticationPolicy: Behaviour of "wild_domain" option unclear.

2017-08-03 Thread Torsten Irländer
Hi, I'm in doubt how to use the "wild_domain" option in AuthTktAuthenticationPolicy correct or if I found a defect. Before opening a ticket I want to ask here. I'm using for AuthTktAuthenticationPolicy cookie-based authentification for a site hosted under "my-app.foo.example.com" As

[pylons-discuss] best rest framework/library for pyramid

2017-08-03 Thread Chris Withers
Hi All, Perennial question for me: what's the best library to use for building REST servers with Pyramid? Ideally looking for: - username/password auth - token-based auth - introspection from sqlalchemy models Cornice still the best? Doesn't seem to have obvious versions of any of the

Re: [pylons-discuss] config in config files?

2017-08-03 Thread Bert JW Regeer
You can grab it from a .ini or wherever when using the latest Pyramid with plaster support (write your own loader to load it from yaml files for example). I guess it is not entirely clear, but here’s docs for the two methods:

Re: [pylons-discuss] AuthTktAuthenticationPolicy: Behaviour of "wild_domain" option unclear.

2017-08-03 Thread Bert JW Regeer
We shouldn’t be sending two cookies anymore since browsers treat both .my-app.foo.example.com and my-app.foo.example.com the same, so we could save some request bandwidth, but that is another ticket for later. In other words, wild_domain being set to True or False makes no difference anymore.

[pylons-discuss] config in config files?

2017-08-03 Thread Chris Withers
Hi All, Once more determined to actually build something in pyramid, going to settle on a REST server to feed a web front end and likely a cli tool too. Looking for advice on best bits to use, but in the meantime, looking at:

Re: [pylons-discuss] config in config files?

2017-08-03 Thread Chris Withers
Hey Steve, Hope it's all going well too :-) On 03/08/2017 20:27, Steve Piercy wrote: On 8/3/17 at 8:12 PM, ch...@withers.org (Chris Withers) pronounced: What's plaster? https://docs.pylonsproject.org/projects/plaster/en/latest/ Cool, more out of curiosity than anything: how came montague

Re: [pylons-discuss] config in config files?

2017-08-03 Thread Chris Withers
On 03/08/2017 19:12, Bert JW Regeer wrote: You can grab it from a .ini or wherever when using the latest Pyramid with plaster support (write your own loader to load it from yaml files for example). I guess it is not entirely clear, but here’s docs for the two methods:

Re: [pylons-discuss] config in config files?

2017-08-03 Thread Chris Withers
On 03/08/2017 22:04, Chris Withers wrote: On 03/08/2017 19:12, Bert JW Regeer wrote: You can grab it from a .ini or wherever when using the latest Pyramid with plaster support (write your own loader to load it from yaml files for example). I guess it is not entirely clear, but here’s docs

Re: [pylons-discuss] config in config files?

2017-08-03 Thread Chris Withers
Hi Bert, Long time no speak, hope you're well! On 03/08/2017 19:12, Bert JW Regeer wrote: You can grab it from a .ini or wherever "or wherever" preferable ;-) when using the latest Pyramid with plaster support (write your own loader to load it from yaml files for example). What's

Re: [pylons-discuss] config in config files?

2017-08-03 Thread Steve Piercy
On 8/3/17 at 8:12 PM, ch...@withers.org (Chris Withers) pronounced: What's plaster? https://docs.pylonsproject.org/projects/plaster/en/latest/ --steve Steve Piercy, Soquel, CA -- You received this message because you are subscribed to the Google Groups

Re: [pylons-discuss] config in config files?

2017-08-03 Thread Michael Merickel
pserve and all pyramid tools use plaster under the hood as of 1.9. plaster was a significant enough redesign from montague that it felt like it warranted being a new library. - Michael On Thu, Aug 3, 2017 at 4:06 PM, Chris Withers wrote: > Hey Steve, > > Hope it's all going

Re: [pylons-discuss] config in config files?

2017-08-03 Thread Bert JW Regeer
> On Aug 3, 2017, at 15:07, Chris Withers > wrote: > > > > On 03/08/2017 22:04, Chris Withers wrote: >> On 03/08/2017 19:12, Bert JW Regeer wrote: >>> You can grab it from a .ini or wherever when using the latest Pyramid >>> with plaster support