diff options
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/application.rb b/application.rb index cc42810..f9e456b 100644 --- a/application.rb +++ b/application.rb @@ -37,20 +37,6 @@ module OpenTox parse_put end - head "/dataset/:id/?" do - case @accept - when "application/rdf+xml", "text/turtle", "text/plain", /html/ - r = FourStore.list @accept - if r =~ /dataset\/#{params[:id]}/ - true - else - false - end - else - bad_request_error "'#{@accept}' is not a supported content type." - end - end - get "/dataset/:id/?" do case @accept when "application/rdf+xml", "text/turtle", "text/plain", /html/ |