Fix AuthorizationException with AWSV4SignerAsyncAuth when the doc ID has special characters. (#848)
* Lifecycle integration tests. Signed-off-by: dblock <[email protected]> * Added a test that makes sure the slash is properly encoded. Signed-off-by: dblock <[email protected]> * Added more tests for signer and _make_path. Signed-off-by: Nathalie Jonathan <[email protected]> * Prevent AIOHttpConnection from encoding the url a second time. Signed-off-by: Nathalie Jonathan <[email protected]> --------- Signed-off-by: dblock <[email protected]> Signed-off-by: Nathalie Jonathan <[email protected]> Co-authored-by: dblock <[email protected]>
This commit is contained in:
@@ -18,9 +18,9 @@ from opensearchpy import AsyncOpenSearch
|
||||
|
||||
async def main() -> None:
|
||||
"""
|
||||
an example showing how to create an asynchronous connection
|
||||
An example showing how to create an asynchronous connection
|
||||
to OpenSearch, create an index, index a document and
|
||||
search to return the document
|
||||
search to return the document.
|
||||
"""
|
||||
# connect to OpenSearch
|
||||
host = "localhost"
|
||||
|
||||
Reference in New Issue
Block a user