files_controller.rb revision f25585170335aa8c73dc2775edb44979bbfb9116
# TODO: the query_string check should be done in the iri router
end
else
end
end
end
end
end
if resource.valid?
else
end
else
end
end
if resource.valid?
else
end
end
end
end
end
end
end
end
end
end
end
end
# OWL API sends those two http accept headers in different requests:
# application/rdf+xml, application/xml; q=0.5, text/xml; q=0.3, */*; q=0.2
# The latter conflicts with what browsers send.
(accepts.present? && accepts.first != Mime::HTML) ||
end
end
end