diff options
-rwxr-xr-x | application.rb | 4 |
1 files 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' |