@singingwolfboy This is because `request.is_secure()` returns `false` by default for django test client's requests. I added separate tests where I passed `'wsgi.url_scheme': 'https'` to the client to simulate https requests. It looks like the test client will accept a `secure` parameter in django 1.7 (https://github.com/django/django/blob/1.7a1/django/test/client.py#L278) to make testing https requests a bit cleaner.