method

gzip_encoding_accepted?

rails latest stable - Class: ActionDispatch::FileHandler

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

gzip_encoding_accepted?(request)
private

No documentation available.

# File actionpack/lib/action_dispatch/middleware/static.rb, line 85
      def gzip_encoding_accepted?(request)
        request.accept_encoding.any? { |enc, quality| enc =~ /\bgzip\b/ }
      end