From 78833eb78a21eec44c5f0ca13acd96d22bc182e7 Mon Sep 17 00:00:00 2001 From: Francesco Rodriguez Date: Wed, 7 Sep 2016 23:12:26 +0200 Subject: [PATCH] Remove unused constants on Puma::CommonLogger. --- lib/puma/commonlogger.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/puma/commonlogger.rb b/lib/puma/commonlogger.rb index 9c3905c7..405f372d 100644 --- a/lib/puma/commonlogger.rb +++ b/lib/puma/commonlogger.rb @@ -63,14 +63,8 @@ module Puma PATH_INFO = 'PATH_INFO'.freeze REQUEST_METHOD = 'REQUEST_METHOD'.freeze - SCRIPT_NAME = 'SCRIPT_NAME'.freeze QUERY_STRING = 'QUERY_STRING'.freeze - CACHE_CONTROL = 'Cache-Control'.freeze CONTENT_LENGTH = 'Content-Length'.freeze - CONTENT_TYPE = 'Content-Type'.freeze - - GET = 'GET'.freeze - HEAD = 'HEAD'.freeze def log(env, status, header, began_at) now = Time.now