diff options
author | rautenberg <rautenberg@in-silico.ch> | 2013-03-28 12:47:55 +0100 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2013-03-28 12:47:55 +0100 |
commit | cf146574d83d72a66183f7d103ca1aa250d6e360 (patch) | |
tree | 52cc08142b0a853955da32373ce83fca0a4cfe97 /lib/4store.rb | |
parent | 9b31acdf5241ebdf700ecc1d798ca6c181aa1b5d (diff) | |
parent | 4ba2cc9849473f97baf75195bb36c5057f1c58d4 (diff) |
Merge branch 'development' of github.com:opentox/opentox-client into developmentv2.1.-last
Diffstat (limited to 'lib/4store.rb')
-rw-r--r-- | lib/4store.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/4store.rb b/lib/4store.rb index e6eb914..338573d 100644 --- a/lib/4store.rb +++ b/lib/4store.rb @@ -3,7 +3,7 @@ module OpenTox class FourStore @@accept_formats = [ "application/rdf+xml", "text/turtle", "text/plain", "text/uri-list", "text/html", 'application/sparql-results+xml' ] - @@content_type_formats = [ "application/rdf+xml", "text/turtle", "text/plain" ] + @@content_type_formats = [ "application/rdf+xml", "text/turtle", "text/plain", "application/x-turtle" ] def self.list mime_type bad_request_error "'#{mime_type}' is not a supported mime type. Please specify one of #{@@accept_formats.join(", ")} in the Accept Header." unless @@accept_formats.include? mime_type |