instance method compressible?

Ruby on Rails 8.1.2

Since v6.1.7.10 Private

Available in: v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

compressible?(content_type)

No documentation comment.

Parameters

content_type req
Source
# File actionpack/lib/action_dispatch/middleware/static.rb, line 149
      def compressible?(content_type)
        @compressible_content_types.match?(content_type)
      end

Defined in actionpack/lib/action_dispatch/middleware/static.rb line 149 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::FileHandler

Type at least 2 characters to search.

↑↓ navigate · open · esc close