Skip to content

Commit 191a9df

Browse files
committed
Merge branch 'force-collection-download' into development
2 parents 42e8fd9 + fdce137 commit 191a9df

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

phylesystem_api/phylesystem_api/views/collection.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ def fetch_collection(request):
7676
# ADD content-disposition header
7777
response = request.response
7878
response.headers["Content-Disposition"] = "attachment; filename={};".format(preferred_filename)
79-
_LOG.debug("NEW response.headers['Content-Disposition']? ", response.headers['Content-Disposition'])
8079
collection_id = collection_id[0:-5] # trim the '.json' extension and proceed w/ fetch
81-
_LOG.debug("SHORTENED collection_id? ", collection_id)
8280

8381
result = fetch_doc(
8482
request,
@@ -91,7 +89,6 @@ def fetch_collection(request):
9189
return add_collection_specific_fields(request, collection_id, result)
9290

9391

94-
9592
def add_collection_specific_fields(request, collection_id, result):
9693
collection_json = result["data"]
9794
# Add commentHTML to result JSON

0 commit comments

Comments
 (0)