diff --git a/lib/galaxy/tools/parameters/cancelable_request.py b/lib/galaxy/tools/parameters/cancelable_request.py index 794854a3ae62..17964b805108 100644 --- a/lib/galaxy/tools/parameters/cancelable_request.py +++ b/lib/galaxy/tools/parameters/cancelable_request.py @@ -23,7 +23,7 @@ async def fetch_url( method: REQUEST_METHOD = "GET", ): async with session.request(method=method, url=url, params=params, data=data, headers=headers) as response: - return await response.json() + return await response.json(content_type=None) async def async_request_with_timeout( diff --git a/test/functional/tools/select_from_url.xml b/test/functional/tools/select_from_url.xml index 488055677e85..09298605a894 100644 --- a/test/functional/tools/select_from_url.xml +++ b/test/functional/tools/select_from_url.xml @@ -7,12 +7,11 @@ echo '$url_param_value_header_and_body' > '$param_value_header_and_body' ]]> - - + - + @@ -24,14 +23,14 @@ echo '$url_param_value_header_and_body' > '$param_value_header_and_body' --> - + [v.chrom, v.len]) ) ]]> - + [v.chrom, v.len])