Class: FilterHeaders

Inherits:
Object
  • Object
show all
Includes:
Interactor
Defined in:
app/interactors/filter_headers.rb

Constant Summary collapse

BLACKLIST_HEADERS =
%w(HOST CF X-REQUEST X-FORWARDED CONNECT-TIME TOTAL-ROUTE-TIME VIA).freeze
WHITELIST_HEADERS =
%w(HTTP_ CONTENT).freeze

Instance Method Summary collapse

Instance Method Details

#callObject



9
10
11
# File 'app/interactors/filter_headers.rb', line 9

def call
  context.headers = client_supplied_headers
end