@staticmethod<EOL><INDENT>def get_self_url_no_query(request_data):<DEDENT>
self_url_host = OneLogin_Saml2_Utils.get_self_url_host(request_data)<EOL>script_name = request_data['<STR_LIT>']<EOL>if script_name:<EOL><INDENT>if script_name[<NUM_LIT:0>] != '<STR_LIT:/>':<EOL><INDENT>script_name = '<STR_LIT:/>' + script_name<EOL><DEDENT><DEDENT>else:<EOL><INDENT>script_name = '<STR_LIT>'<EOL><DEDENT>self_url_no_query = self_url_host + script_name<EOL>if '<STR_LIT>' in request_data:<EOL><INDENT>self_url_no_query += request_data['<STR_LIT>']<EOL><DEDENT>return self_url_no_query<EOL>
Returns the 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