diff options
author | gebele <gebele@in-silico.ch> | 2013-02-18 10:09:16 +0000 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-02-18 10:09:16 +0000 |
commit | 97d39cf958ecb9d7b35073a9a56945552073b678 (patch) | |
tree | 0a7cf52a760e90767eca1b3897d1b0d8e550671d /lib | |
parent | dee8892491dcda0bfa68c413ee0fbbc0ddd33f12 (diff) |
changed content-type to application/x-turtle for large imports
Diffstat (limited to 'lib')
-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 |