Flowdock
method

decode_gzip

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: SOAP::HTTPStreamHandler
decode_gzip(instring) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/soap/streamHandler.rb, line 215
  def decode_gzip(instring)
    unless send_accept_encoding_gzip?
      raise HTTPStreamError.new("Gzipped response content.")
    end
    begin
      gz = Zlib::GzipReader.new(StringIO.new(instring))
      gz.read
    ensure
      gz.close
    end
  end
Register or log in to add new notes.