lib/secure_headers.rb
# Public: opts out of setting a given header by creating a temporary config
# and setting the given headers config to OPT_OUT.
opts out of setting a given header by creating a temporary config
and setting the given headers config to OPT_OUT.
opts out of setting a given header by creating a temporary config and setting the given headers config to OPT_OUT .
def opt_out_of_header(request, header_key)
      config = config_for(request)
      config.opt_out(header_key)
      override_secure_headers_request_config(request, config)
    end
def opt_out_of_header ( request , header_key ) config = config_for ( request ) config . opt_out ( header_key ) override_secure_headers_request_config ( request , config ) end
Public: opts out of setting a given header by creating a temporary config
and setting the given headers config to OPT_OUT.
Public : opts out of setting a given header by creating a temporary config and setting the given headers config to OPT_OUT .
request
header_key