Skip to content
Permalink
Browse files
AIRAVATA-3420 backwards compatible /api/download
  • Loading branch information
machristie committed May 24, 2021
1 parent 6672f54 commit 7cb087cb2e660dad9c228f9011085c1a042df157
Showing 1 changed file with 3 additions and 1 deletion.
@@ -223,7 +223,9 @@ def open_file(request, data_product=None, data_product_uri=None):
request,
"/download",
params={'data-product-uri': data_product.productUri},
base_url="/sdk")
# TODO: once /sdk/download is integrated with airavata-django-portal, this can be updated to
# base_url="/sdk"
base_url="/api")
file = io.BytesIO(resp.content)
disposition = resp.headers['Content-Disposition']
disp_value, disp_params = cgi.parse_header(disposition)

0 comments on commit 7cb087c

Please sign in to comment.