def get_scheme(self, request_id):
    with self._lock:
      scheme = 'http'
      environ = self._request_wsgi_environ[request_id]
      if environ['HTTP_X_FORWARDED_PROTO'] is not None:
        scheme = environ['HTTP_X_FORWARDED_PROTO']
      return scheme
Returns the scheme for this request.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/wsgi_request_info.py/WSGIRequestInfo.get_scheme