summaryrefslogtreecommitdiff
path: root/fminer.rb
diff options
context:
space:
mode:
authorMartin Gütlein <martin.guetlein@gmail.com>2010-02-26 09:43:22 +0100
committerMartin Gütlein <martin.guetlein@gmail.com>2010-02-26 09:43:22 +0100
commit6e756ca5ec2fe363fd5e835cc907f161bf4a947a (patch)
tree6fd38e3d4e056d18652600a4ea26e75308c83500 /fminer.rb
parent5aed9020c096b615975f22113130272acf8371eb (diff)
parent987b7ccd630ce527d472808b1cbeccb96b7917d4 (diff)
Merge remote branch 'helma/test' into test
Diffstat (limited to 'fminer.rb')
-rw-r--r--fminer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/fminer.rb b/fminer.rb
index 18b5cf6..bc40ef8 100644
--- a/fminer.rb
+++ b/fminer.rb
@@ -6,6 +6,7 @@ ENV['FMINER_PVALUES'] = 'true'
#@@fminer.SetChisqSig(0.95)
get '/fminer/?' do
+ response['Content-Type'] = 'application/rdf+xml'
OpenTox::Algorithm::Fminer.new.rdf
end
@@ -114,6 +115,7 @@ post '/fminer/?' do
task.pid = pid
LOGGER.debug "Task PID: " + pid.to_s
#status 303
+ response['Content-Type'] = 'text/uri-list'
task.uri
end