From d3190ba5fd87db05bdf3219dae00afaf31257718 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Tue, 30 Nov 2010 12:43:04 +0100 Subject: Accept: text/uri-list for running algoritms --- lib/algorithm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/algorithm.rb') diff --git a/lib/algorithm.rb b/lib/algorithm.rb index a6fa4a7..a2f7786 100644 --- a/lib/algorithm.rb +++ b/lib/algorithm.rb @@ -15,7 +15,7 @@ module OpenTox # @param [optional,Hash] params Algorithm parameters # @return [String] URI of new resource (dataset, model, ...) def run(params=nil) - RestClientWrapper.post(@uri, params).to_s + RestClientWrapper.post(@uri, {:accept => 'text/uri-list'}, params).to_s end # Get OWL-DL representation in RDF/XML format -- cgit v1.2.3