/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

  1. note
  2. description: "Summary description for {HTTPD_DOWNLOAD_RESPONSE}."
  3. date: "$Date$"
  4. revision: "$Revision$"
  5. class
  6. HTTPD_DOWNLOAD_RESPONSE
  7. inherit
  8. HTTPD_FILE_RESPONSE
  9. redefine
  10. prepare
  11. end
  12. create
  13. make
  14. feature {NONE} -- Initialization
  15. prepare
  16. do
  17. headers.put_content_type_with_name ("application/force-download", base_name)
  18. Precursor
  19. end
  20. end