PageRenderTime 81ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/library/server/httpd/interface/response/httpd_download_response.e

http://github.com/jocelyn/EiffelWebReloaded
Specman e | 26 lines | 20 code | 6 blank | 0 comment | 1 complexity | 7481f10427f0253fb7f43c23e9b5e73f MD5 | raw file
 1note
 2	description: "Summary description for {HTTPD_DOWNLOAD_RESPONSE}."
 3	date: "$Date$"
 4	revision: "$Revision$"
 5
 6class
 7	HTTPD_DOWNLOAD_RESPONSE
 8
 9inherit
10	HTTPD_FILE_RESPONSE
11		redefine
12			prepare
13		end
14
15create
16	make
17
18feature {NONE} -- Initialization
19
20	prepare
21		do
22			headers.put_content_type_with_name ("application/force-download", base_name)
23			Precursor
24		end
25
26end