diff --git a/opensearchpy/helpers/asyncsigner.py b/opensearchpy/helpers/asyncsigner.py index c045f138..7008d984 100644 --- a/opensearchpy/helpers/asyncsigner.py +++ b/opensearchpy/helpers/asyncsigner.py @@ -9,6 +9,8 @@ from typing import Any, Dict, Optional, Union +from ..compat import unquote + class AWSV4SignerAsyncAuth: """ @@ -56,7 +58,7 @@ def _sign_request( # create an AWS request object and sign it using SigV4Auth aws_request = AWSRequest( method=method, - url=url, + url=unquote(url), data=body, )