files_controller.rb revision 995120a790fbe40d1fde3a69c81a0954b159bb67
# 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