Sha256: 8c1676deae5e6e71e32223b74447c366c3b4601ae1c86332e5f5cc929ba2e92e

Contents?: true

Size: 438 Bytes

Versions: 18

Compression:

Stored size: 438 Bytes

Contents

# frozen_string_literal: true

module ActionController
  # = Action Controller Default Headers
  #
  # Allows configuring default headers that will be automatically merged into
  # each response.
  module DefaultHeaders
    extend ActiveSupport::Concern

    module ClassMethods
      def make_response!(request)
        ActionDispatch::Response.create.tap do |res|
          res.request = request
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 4 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3.4/lib/action_controller/metal/default_headers.rb
actionpack-7.1.5.1 lib/action_controller/metal/default_headers.rb
actionpack-7.1.5 lib/action_controller/metal/default_headers.rb
actionpack-7.1.4.2 lib/action_controller/metal/default_headers.rb
actionpack-7.1.4.1 lib/action_controller/metal/default_headers.rb
actionpack-7.1.4 lib/action_controller/metal/default_headers.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3.4/lib/action_controller/metal/default_headers.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_controller/metal/default_headers.rb
actionpack-7.1.3.4 lib/action_controller/metal/default_headers.rb
actionpack-7.1.3.2 lib/action_controller/metal/default_headers.rb
actionpack-7.1.3.1 lib/action_controller/metal/default_headers.rb
actionpack-7.1.3 lib/action_controller/metal/default_headers.rb
actionpack-7.1.2 lib/action_controller/metal/default_headers.rb
actionpack-7.1.1 lib/action_controller/metal/default_headers.rb
actionpack-7.1.0 lib/action_controller/metal/default_headers.rb
actionpack-7.1.0.rc2 lib/action_controller/metal/default_headers.rb
actionpack-7.1.0.rc1 lib/action_controller/metal/default_headers.rb
actionpack-7.1.0.beta1 lib/action_controller/metal/default_headers.rb