From d82ee3ca5711d81dbc2e3d8e97e91a4fe65408a7 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Wed, 5 Jan 2022 14:48:25 -0300 Subject: [PATCH] 17492: Removes unused & deprecated code. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- services/api/app/controllers/application_controller.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/services/api/app/controllers/application_controller.rb b/services/api/app/controllers/application_controller.rb index 3750befb3f..4625ef654c 100644 --- a/services/api/app/controllers/application_controller.rb +++ b/services/api/app/controllers/application_controller.rb @@ -688,11 +688,6 @@ class ApplicationController < ActionController::Base } end - def client_accepts_plain_text_stream - (request.headers['Accept'].split(' ') & - ['text/plain', '*/*']).count > 0 - end - def render *opts if opts.first response = opts.first[:json] -- 2.30.2