method

encode_gzip?

ruby latest stable - Class: SOAP::RPC::SOAPlet

Method deprecated or moved

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

encode_gzip?(req)
private

No documentation available.

# File lib/soap/rpc/soaplet.rb, line 153
  def encode_gzip?(req)
    @options[:allow_content_encoding_gzip] and defined?(::Zlib) and
      req['accept-encoding'] and
      req['accept-encoding'].split(/,\s*/).include?('gzip')
  end