code: def get_self_routed_url_no_query(request_data):
          
          self_url_host = OneLogin_Saml2_Utils.get_self_url_host(request_data)
          route = ''
          if 'request_uri' in request_data and request_data['request_uri']:
              route = request_data['request_uri']
              if 'query_string' in request_data and request_data['query_string']:
                  route = route.replace(request_data['query_string'], '')
  
          return self_url_host + route
docs: Returns the routed URL of the current host + current view.
  
          :param request_data: The request as a dict
          :type: dict
  
          :return: The url of current host + current view
          :rtype: string