mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 05:45:37 +08:00
Preserve original request params as nested dict
and use them in final POST request
This commit is contained in:
@@ -55,7 +55,11 @@ def __main__():
|
||||
if URL_method == "get":
|
||||
page = urlopen(cur_URL, timeout=DEFAULT_SOCKET_TIMEOUT)
|
||||
elif URL_method == "post":
|
||||
page = urlopen(cur_URL, urlencode(params["param_dict"]).encode("utf-8"), timeout=DEFAULT_SOCKET_TIMEOUT)
|
||||
page = urlopen(
|
||||
cur_URL,
|
||||
urlencode(params["param_dict"]["incoming_request_params"]).encode("utf-8"),
|
||||
timeout=DEFAULT_SOCKET_TIMEOUT
|
||||
)
|
||||
except Exception as e:
|
||||
sys.exit("The remote data source application may be off line, please try again later. Error: %s" % str(e))
|
||||
if max_file_size:
|
||||
|
||||
Reference in New Issue
Block a user