protected function curlInfos($ch)
    {
        $this->response->setCode(curl_getinfo($ch, CURLINFO_HTTP_CODE));

        if (($errno = curl_errno($ch)) !== 0) {
            $this->response->setErrorCode(curl_errno($ch));
            $this->response->setError(curl_error($ch));
        }

        $this->response->setProviderDatas(curl_getinfo($ch));
    }