'Mangles the request
:param request: HTTPRequest instance that is going to be modified
by the evasion plugin
:return: The modified request'

def modify_request(self, request):

    path = request.url_object.get_path()
    path = self._mutate(path)
    new_url = request.url_object.copy()
    new_url.set_path(path)
    data = request.get_data()
    if data:
        try:
            parse_qs(data)
        except:
            pass
        else:
            data = self._mutate(data)
    new_req = HTTPRequest(new_url, data, request.headers, request.get_origin_req_host(), retries=request.retries_left)
    return new_req
