File tree Expand file tree Collapse file tree
phylesystem_api/phylesystem_api/views Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,9 +76,9 @@ def fetch_collection(request):
7676 # ADD content-disposition header
7777 response = request .response
7878 _LOG .debug ("response? " , response )
79- _LOG .debug ("response.content_disposition? " , response .content_disposition )
80- _LOG .debug ("response.headers? " , response .headers )
81- _LOG .debug ("OLD response.headers['Content-Disposition']? " , response .headers ['Content-Disposition' ])
79+ # _LOG.debug("response.content_disposition? ", response.content_disposition)
80+ # _LOG.debug("response.headers? ", response.headers)
81+ # _LOG.debug("OLD response.headers['Content-Disposition']? ", response.headers['Content-Disposition'])
8282 #response.content_disposition('attachment; filename={}.json;'.format(preferred_filename))
8383 request .response .headers ["Content-Disposition" ] = "attachment; filename={}.json;" .format (preferred_filename )
8484 _LOG .debug ("NEW response.headers['Content-Disposition']? " , response .headers ['Content-Disposition' ])
You can’t perform that action at this time.
0 commit comments