From 42610e0817b8332b46f3c81356126233cb162ee4 Mon Sep 17 00:00:00 2001 From: mguetlein Date: Fri, 25 Jun 2010 20:34:14 +0200 Subject: replace text/x-yaml with application/x-yaml --- application.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application.rb b/application.rb index 248a2d6..9148c11 100755 --- a/application.rb +++ b/application.rb @@ -43,7 +43,7 @@ get '/:id' do case params[:id] when /.yaml$/ params[:id].sub!(/.yaml$/,'') - accept = 'text/x-yaml' + accept = 'application/x-yaml' when /.rdf$/ params[:id].sub!(/.rdf$/,'') accept = 'application/rdf+xml' @@ -68,7 +68,7 @@ get '/:id' do end dataset.owl when /yaml/ - response['Content-Type'] = 'text/x-yaml' + response['Content-Type'] = 'application/x-yaml' dataset.yaml when /ms-excel/ require 'spreadsheet' -- cgit v1.2.3