@staticmethod
def prepare_dict_for_unparse(url_dict: dict) ->dict:
    """
        remove and add required back slash of 'netloc' and 'path'
        to parse it properly, urllib.parse.unparse() function can't
        create url properly if path doesn't have '/' at the start
        """
    url_dict['netloc'] = url_dict['netloc'].rstrip('/')
    url_dict['path'] = '/' + url_dict['path'].strip('/')
    return url_dict
