diff -r c0239d8ae742 -r b6cc9da206df wsgi/request.py --- a/wsgi/request.py Mon May 12 12:37:19 2014 +0200 +++ b/wsgi/request.py Tue May 06 16:00:36 2014 +0200 @@ -127,8 +127,7 @@ return '%s%s' % (self.path, self.environ.get('QUERY_STRING', '') and ('?' + self.environ.get('QUERY_STRING', '')) or '') def is_secure(self): - return 'wsgi.url_scheme' in self.environ \ - and self.environ['wsgi.url_scheme'] == 'https' + return self.environ['wsgi.url_scheme'] == 'https' def get_posted_data(self): # The WSGI spec says 'QUERY_STRING' may be absent.