public function disableGzip()
  {
    if (
        isset($this->requestHeaders['accept-encoding']) &&
        $this->requestHeaders['accept-encoding'] == "gzip"
    ) {
      unset($this->requestHeaders['accept-encoding']);
    }
    $this->canGzip = false;
    $this->userAgent = str_replace(self::GZIP_UA, "", $this->userAgent);
  }
public function disableGzip()
  {
    if (
        isset($this->requestHeaders['accept-encoding']) &&
        $this->requestHeaders['accept-encoding'] == "gzip"
    ) {
      unset($this->requestHeaders['accept-encoding']);
    }
    $this->canGzip = false;
    $this->userAgent = str_replace(self::GZIP_UA, "", $this->userAgent);
  }
public function disableGzip ( ) { if ( isset ( $ this -> requestHeaders [ 'accept-encoding' ] ) && $ this -> requestHeaders [ 'accept-encoding' ] == "gzip" ) { unset ( $ this -> requestHeaders [ 'accept-encoding' ] ) ; } $ this -> canGzip = false ; $ this -> userAgent = str_replace ( self :: GZIP_UA , "" , $ this -> userAgent ) ; }
Disable support for gzip responses with this request.
Disable support for gzip responses with this request .