Re: [Twisted-Python] Forcing Twisted / Klein to use HTTPS

2017-08-30 Thread Jean-Paul Calderone
On Wed, Aug 30, 2017 at 11:36 AM, Chris Norman wrote: > Hi all, > > I'm trying to force Klein to use HTTPS, and so far I have a custom error > handler which redirects the user to the HTTPs version of the page via a > check_secure function which takes the request object and raises the right > erro

[Twisted-Python] Forcing Twisted / Klein to use HTTPS

2017-08-30 Thread Chris Norman
Hi all, I'm trying to force Klein to use HTTPS, and so far I have a custom error handler which redirects the user to the HTTPs version of the page via a check_secure function which takes the request object and raises the right error if request.isSecure() is False. Is there a better global w

Re: [Twisted-Python] Twisted 17.5 vs txkube

2017-08-30 Thread Jean-Paul Calderone
I hope that won't discourage anyone else from taking a look. On Wed, Aug 30, 2017 at 8:09 AM, Amber Hawkie Brown < hawk...@atleastfornow.net> wrote: > > On 30 Aug 2017, at 22:05, Jean-Paul Calderone > wrote: > > Hello, > > Sadly the txkube test suite is still pretty busted against Twisted 17.5.

Re: [Twisted-Python] Twisted 17.5 vs txkube

2017-08-30 Thread Amber Hawkie Brown
> On 30 Aug 2017, at 22:05, Jean-Paul Calderone > wrote: > > Hello, > > Sadly the txkube test suite is still pretty busted against Twisted 17.5. It > was broken for a long time with Twisted 17.1 as well. I'm not sure if these > are exactly the same problems or not but they look somewhat re

[Twisted-Python] Twisted 17.5 vs txkube

2017-08-30 Thread Jean-Paul Calderone
Hello, Sadly the txkube test suite is still pretty busted against Twisted 17.5. It was broken for a long time with Twisted 17.1 as well. I'm not sure if these are exactly the same problems or not but they look somewhat related. https://travis-ci.org/LeastAuthority/txkube/builds/269920984 If any