class Rack::Protection::FrameOptions

def header

def header
  @header ||= begin
    frame_options = options[:frame_options]
    frame_options = options[:frame_options].to_s.upcase unless frame_options.respond_to? :to_str
    { 'X-Frame-Options' => frame_options.to_str }
  end
end