From 0cf1fbcfae7f618f188f8b44051e5fc0724f8728 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Mon, 10 May 2010 18:45:22 +0200 Subject: Validation service integrated --- lib/dataset.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/dataset.rb') diff --git a/lib/dataset.rb b/lib/dataset.rb index 9304eec..e21ccce 100644 --- a/lib/dataset.rb +++ b/lib/dataset.rb @@ -15,7 +15,7 @@ module OpenTox def self.find(uri, accept_header=nil) unless accept_header - if uri.match(@@config[:services]["opentox-dataset"]) || uri=~ /188.40.32.88/ + if uri.match(@@config[:services]["opentox-dataset"]) || uri=~ /188.40.32.88/ || uri =~ /informatik/ accept_header = 'text/x-yaml' else accept_header = "application/rdf+xml" -- cgit v1.2.3