diff --git a/covalent/_dispatcher_plugins/local.py b/covalent/_dispatcher_plugins/local.py index 3138873e5..de44719ec 100644 --- a/covalent/_dispatcher_plugins/local.py +++ b/covalent/_dispatcher_plugins/local.py @@ -671,8 +671,10 @@ def _put_asset(local_uri, remote_uri): host = f.host port = f.port dispatcher_addr = f"{scheme}://{host}:{port}" - endpoint = str(f.path) api_client = APIClient(dispatcher_addr) + endpoint = str(f.path) + if f.query: + endpoint += f"?{f.query}" r = api_client.put(endpoint, data=reader) r.raise_for_status()