Task21Start - Transfer ruleset to browser
See TasksExplained? for more infos about tasks. This task is based on the template at TaskTemplateStart
Status : closed
Category : gui
Date opened : 2007-02-05
Description : Transfer ruleset to browser
Referenced in stories/tasks :
WebStatistics
Story7Start
Testsuite : test/integration/user_story6_test.rb
Commited revision : 84
Remarks :
Give a filename of a ruleset, the ruleset should be loaded and be transferred to the browser.
Changelog
2007-02-05 - implemented
The test was done in integration tests, because i needed access to the http headers and you do not get these outside of the integration test session afaik.
I did not manage to look into the rulefile transferred. But the test makes sure the file is not empty.
The rulefile is transferred as content-type "text/ascii". It is an attachment with rulefile.conf as filename proposal.