diff options
author | mguetlein <martin.guetlein@gmail.com> | 2012-12-07 17:11:43 +0100 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2012-12-07 17:11:43 +0100 |
commit | a4c8201828614b40e01f37aed31727cd60754620 (patch) | |
tree | c673fdd9be8bb2e5ad5383aaa86641418aec6ce9 /application.rb | |
parent | 6b2f46353883f1882a84b9972926e69f0d56ae4a (diff) |
accept header for html requests is fixed in before-method
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/application.rb b/application.rb index 9726f26..cae6066 100644 --- a/application.rb +++ b/application.rb @@ -419,7 +419,6 @@ module OpenTox get "/dataset/:id/?" do #Profiler__::start_profile - @accept = "text/html" if @accept == '*/*' case @accept when "application/rdf+xml", "text/turtle", "text/plain", /html/ r = FourStore.get(@uri, @accept) |