We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
attachment
inline
1 parent 250ff0d commit c72762dCopy full SHA for c72762d
1 file changed
label_studio/data_import/api.py
@@ -744,5 +744,5 @@ def get(self, request, *args, **kwargs):
744
redirect = '/file_download/' + protocol + '/' + url.replace(protocol + '://', '')
745
746
response['X-Accel-Redirect'] = redirect
747
- response['Content-Disposition'] = 'attachment; filename="{}"'.format(filepath)
+ response['Content-Disposition'] = 'inline; filename="{}"'.format(filepath)
748
return response
0 commit comments