protected function detectEncoding($acceptEncoding)
    {
        // Parse the accepted encodings.
        $this->encodings = array_map('trim', (array) explode(',', $acceptEncoding));

        // Mark this detection routine as run.
        $this->detection['acceptEncoding'] = true;
    }