summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2013-05-08 10:23:44 +0200
committergebele <gebele@in-silico.ch>2013-05-08 10:23:44 +0200
commit71b0cfc9549fd165950f5107624ae4d4ebc3f66b (patch)
treef3798dfff4ce09569850a9cc02cb7414e3aa260b
parent3dd50b38e78a8c51185c81380359734c1bed99a3 (diff)
removed head route on dataset/:id
-rw-r--r--application.rb14
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/