From 97d39cf958ecb9d7b35073a9a56945552073b678 Mon Sep 17 00:00:00 2001 From: gebele Date: Mon, 18 Feb 2013 10:09:16 +0000 Subject: changed content-type to application/x-turtle for large imports --- lib/4store.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3