files_controller.rb revision 4e449617be908ec2af2d15bdecc72002a2dd2c8a
# TODO: the query_string check should be done in the iri router
end
else
end
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