﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30196	Make FileResponse always set Content-Disposition header.	Piotr Kunicki	Piotr Kunicki	"FileResponse currently sets the Content-Disposition header only if as_attachment is true.

Setting it explicitly to, e.g. 'inline; filename=""example.png""' in the other case would allow the browser to set a default name for that inline file in case a user attempts to download it with the 'Save image as...' option.

That filename value is also visible in the title of the tab when image is being viewed directly in Firefox (at least v56).

Created a pull request: https://github.com/django/django/pull/11011"	Cleanup/optimization	closed	HTTP handling	dev	Normal	fixed	FileResponse file response Content-Disposition header attachment inline		Ready for checkin	1	0	0	0	0	0
