src/Plugin/DecoderPlugin.php
private function decodeResponse(ResponseInterface $response): ResponseInterface
    {
        $response = $this->decodeOnEncodingHeader('Transfer-Encoding', $response);

        if ($this->useContentEncoding) {
            $response = $this->decodeOnEncodingHeader('Content-Encoding', $response);
        }

        return $response;
    }
private function decodeResponse(ResponseInterface $response): ResponseInterface
    {
        $response = $this->decodeOnEncodingHeader('Transfer-Encoding', $response);

        if ($this->useContentEncoding) {
            $response = $this->decodeOnEncodingHeader('Content-Encoding', $response);
        }

        return $response;
    }
private function decodeResponse ( ResponseInterface $ response ) : ResponseInterface { $ response = $ this -> decodeOnEncodingHeader ( 'Transfer-Encoding' , $ response ) ; if ( $ this -> useContentEncoding ) { $ response = $ this -> decodeOnEncodingHeader ( 'Content-Encoding' , $ response ) ; } return $ response ; }
Decode a response body given its Transfer-Encoding or Content-Encoding value.
Decode a response body given its Transfer - Encoding or Content - Encoding value .