We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16f4b32 commit 3a2dff9Copy full SHA for 3a2dff9
packages/smithy-http/src/smithy_http/aio/protocols.py
@@ -46,8 +46,11 @@ def set_service_endpoint(
46
if uri.path is not None and previous.path is not None:
47
path = os.path.join(uri.path, previous.path.lstrip("/"))
48
49
+ if path is not None and not path.startswith("/"):
50
+ path = "/" + path
51
+
52
query = previous.query or uri.query
- if uri.query is not None and previous.query is not None:
53
+ if uri.query and previous.query:
54
query = f"{uri.query}&{previous.query}"
55
56
request.destination = _URI(
0 commit comments