instance method gzip_encoding_accepted?

Ruby on Rails 4.2.9

Since v4.2.9 Last seen in v6.0.6 Private — implementation detail, not part of the public API

Available in: v4.2.9 v5.2.8.1 v6.0.6

Signature

gzip_encoding_accepted?(env)

No documentation comment.

Parameters

env req
Source
# File actionpack/lib/action_dispatch/middleware/static.rb, line 76
      def gzip_encoding_accepted?(env)
        env['HTTP_ACCEPT_ENCODING'] =~ /\bgzip\b/i
      end

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

Defined in ActionDispatch::FileHandler

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close