code: def renderHTTP(self, context):
          
          request = IRequest(context)
          if request.isSecure():
              renderer = self.wrappedResource
          else:
              renderer = _SecureWrapper(self.urlGenerator, self.wrappedResource)
          return renderer.renderHTTP(context)
docs: Render the wrapped resource if HTTPS is already being used, otherwise
          invoke a helper which may generate a redirect.